mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 00:35:25 +08:00
chore: add debug log
This commit is contained in:
parent
4a1a7ea456
commit
ecbf5fa4f1
1 changed files with 7 additions and 0 deletions
|
@ -134,6 +134,13 @@ export function navigate(
|
|||
TestUI.resultCalculating ||
|
||||
PageTransition.get()
|
||||
) {
|
||||
console.debug(
|
||||
`navigate: ${url} ignored, page is busy (testRestarting: ${
|
||||
TestUI.testRestarting
|
||||
}, resultCalculating: ${
|
||||
TestUI.resultCalculating
|
||||
}, pageTransition: ${PageTransition.get()})`
|
||||
);
|
||||
return;
|
||||
}
|
||||
url = url.replace(/\/$/, "");
|
||||
|
|
Loading…
Reference in a new issue