mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 18:27:33 +08:00
awaiting before show
This commit is contained in:
parent
9314409646
commit
c00730386e
1 changed files with 2 additions and 2 deletions
|
|
@ -71,8 +71,8 @@ export function change(page) {
|
|||
history.pushState(nextPage.pathname, null, nextPage.pathname);
|
||||
nextPage?.afterShow();
|
||||
},
|
||||
() => {
|
||||
nextPage?.beforeShow();
|
||||
async () => {
|
||||
await nextPage?.beforeShow();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue