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.",
|
message: "Account deleted successfully.",
|
||||||
});
|
});
|
||||||
mutate("CURRENT_USER_DETAILS", null);
|
mutate("CURRENT_USER_DETAILS", null);
|
||||||
|
signOut();
|
||||||
setTheme("system");
|
setTheme("system");
|
||||||
router.push("/");
|
router.push("/");
|
||||||
handleClose();
|
handleClose();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue