mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 07:17:23 +08:00
unnecessary pace caret init
This commit is contained in:
parent
6272ee694c
commit
0ecfa23ce8
1 changed files with 0 additions and 7 deletions
|
|
@ -10,11 +10,9 @@ import * as TestLogic from "../test/test-logic";
|
|||
import * as Loader from "../elements/loader";
|
||||
import * as PageTransition from "../states/page-transition";
|
||||
import * as ActivePage from "../states/active-page";
|
||||
import * as TestState from "../test/test-state";
|
||||
import * as LoadingPage from "../pages/loading";
|
||||
import * as LoginPage from "../pages/login";
|
||||
import * as ResultFilters from "../account/result-filters";
|
||||
import * as PaceCaret from "../test/pace-caret";
|
||||
import * as TagController from "./tag-controller";
|
||||
import * as RegisterCaptchaPopup from "../popups/register-captcha-popup";
|
||||
import * as URLHandler from "../utils/url-handler";
|
||||
|
|
@ -214,11 +212,6 @@ export async function getDataAndInit(): Promise<boolean> {
|
|||
});
|
||||
}
|
||||
}
|
||||
if (Config.paceCaret === "pb" || Config.paceCaret === "average") {
|
||||
if (!TestState.isActive) {
|
||||
PaceCaret.init();
|
||||
}
|
||||
}
|
||||
AccountButton.loading(false);
|
||||
updateTagsCommands();
|
||||
TagController.loadActiveFromLocalStorage();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue