diff --git a/src/controllers/modals/components/ServerInfo.tsx b/src/controllers/modals/components/ServerInfo.tsx index ea15df7c..23598af0 100644 --- a/src/controllers/modals/components/ServerInfo.tsx +++ b/src/controllers/modals/components/ServerInfo.tsx @@ -38,6 +38,17 @@ export default function ServerInfo({ children: "Edit Identity", palette: "primary", }, + { + onClick: () => { + modalController.push({ + type: "leave_server", + target: server, + }); + return true; + }, + children: "Leave Server", + palette: "error", + }, { onClick: () => { modalController.push({