chore: sign out after deactivating account (#4476)
This commit is contained in:
parent
a195f1bf7e
commit
12cd22bba0
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ export const SwitchOrDeleteAccountModal: React.FC<Props> = (props) => {
|
|||
message: "Account deleted successfully.",
|
||||
});
|
||||
mutate("CURRENT_USER_DETAILS", null);
|
||||
signOut();
|
||||
setTheme("system");
|
||||
router.push("/");
|
||||
handleClose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue