mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 16:28:04 +08:00
parent
28c1cccd57
commit
32ff95a2a7
1 changed files with 3 additions and 0 deletions
|
|
@ -217,6 +217,9 @@ async function readyFunction(
|
|||
if (window.location.pathname === "/account") {
|
||||
window.history.replaceState("", "", "/login");
|
||||
}
|
||||
Settings.hideAccountSection();
|
||||
AccountButton.update(undefined);
|
||||
DB.setSnapshot(undefined);
|
||||
Sentry.clearUser();
|
||||
PageTransition.set(false);
|
||||
navigate();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue