Revert "fix: handle mobile logout failures"

This reverts commit 9f0969ec22.
This commit is contained in:
ajnart committed 2026-07-29 20:07:27 +02:00
1 parent 5c4cc81b05
commit c1819d6fdc
1 file changed
+3 -5
@@ -339,11 +339,9 @@ const MobileMoreMenu = ({ showSettings }: { showSettings: boolean }) => {
justify="flex-start"
leftSection={<IconLogout size={20} />}
onClick={() => {
void signOut({ redirect: false })
.catch(() => undefined)
.then(() => {
window.location.assign(logoutUrl ?? "/auth/login");
});
void signOut({ redirect: false }).then(() => {
window.location.assign(logoutUrl ?? "/auth/login");
});
}}
>
{tProfile("logout")}