diff --git a/src/app/pages/client/sidebar/SettingsTab.tsx b/src/app/pages/client/sidebar/SettingsTab.tsx index a21a9039..a6919ea4 100644 --- a/src/app/pages/client/sidebar/SettingsTab.tsx +++ b/src/app/pages/client/sidebar/SettingsTab.tsx @@ -94,12 +94,10 @@ type AccountSwitcherProps = { }; function AccountSwitcher({ cords, requestClose }: AccountSwitcherProps) { const navigate = useNavigate(); - const setSessionUserId = useSetAtom(sessionUserIdAtom); const sessions = useSessions(); const handleManageAccounts = () => { - setSessionUserId(undefined); navigate(getRootPath()); };