allow browser back button to load session when accounts opened
This commit is contained in:
parent
40ec962106
commit
a32b92c3c8
1 changed files with 0 additions and 2 deletions
|
|
@ -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());
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue