diff --git a/src/components/modals/JoinServerModal.tsx b/src/components/modals/JoinServerModal.tsx index 175d5a1..67351e7 100644 --- a/src/components/modals/JoinServerModal.tsx +++ b/src/components/modals/JoinServerModal.tsx @@ -39,8 +39,7 @@ export function JoinServerModal({ ...props }: ModalProps<"join_server">) { .post(Routes.invite(code)) .then((r) => { navigate(`/channels/${r.guild_id}/${r.channel_id}`); - // modalController.closeAll(); - // TODO: + modalController.closeAll(); }) .catch((r) => { if ("message" in r) {