mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-03 20:40:48 +08:00
fix
This commit is contained in:
parent
fe5d9de742
commit
db1aef58cc
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ async function loadUser(user) {
|
|||
PageTransition.set(false);
|
||||
AccountButton.update();
|
||||
AccountButton.loading(true);
|
||||
if ((await Account.getDataAndInit()) == false) {
|
||||
console.log("Signing out!");
|
||||
if ((await Account.getDataAndInit()) === false) {
|
||||
signOut();
|
||||
}
|
||||
// var displayName = user.displayName;
|
||||
|
|
Loading…
Reference in a new issue