mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 20:40:48 +08:00
fixed stuck on loading page when not logged in
This commit is contained in:
parent
2f6534f8a8
commit
1549eb5aa1
1 changed files with 5 additions and 0 deletions
|
@ -278,6 +278,11 @@ const authListener = firebase.auth().onAuthStateChanged(async function (user) {
|
|||
Account.update();
|
||||
// SignOutButton.show();
|
||||
}
|
||||
} else {
|
||||
PageController.change();
|
||||
setTimeout(() => {
|
||||
Focus.set(false);
|
||||
}, 125 / 2);
|
||||
}
|
||||
|
||||
let theme = Misc.findGetParameter("customTheme");
|
||||
|
|
Loading…
Reference in a new issue