mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-04 18:53:26 +08:00
fix: login disabled after logout (fehmer) (#5243)
This commit is contained in:
parent
7f427a9643
commit
f3c6254933
2 changed files with 2 additions and 2 deletions
|
@ -455,8 +455,6 @@ export function signOut(): void {
|
|||
void AccountButton.update();
|
||||
navigate("/login");
|
||||
DB.setSnapshot(undefined);
|
||||
LoginPage.enableSignUpButton();
|
||||
LoginPage.enableInputs();
|
||||
$("header .signInOut .icon").html(`<i class="far fa-fw fa-user"></i>`);
|
||||
setTimeout(() => {
|
||||
hideFavoriteQuoteLength();
|
||||
|
|
|
@ -353,6 +353,8 @@ export const page = new Page(
|
|||
},
|
||||
async () => {
|
||||
Skeleton.append("pageLogin", "main");
|
||||
enableSignUpButton();
|
||||
enableInputs();
|
||||
},
|
||||
async () => {
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue