mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 06:54:36 +08:00
refactor: remove unnecessary import/export
This commit is contained in:
parent
2aa178aede
commit
70b403eaed
3 changed files with 0 additions and 7 deletions
|
|
@ -16,7 +16,6 @@ import {
|
|||
isPopupVisible,
|
||||
} from "../utils/misc";
|
||||
import { update as updateCustomThemesList } from "./lists/custom-themes-list";
|
||||
import { update as updateTagsCommands } from "./lists/tags";
|
||||
import * as Skeleton from "../popups/skeleton";
|
||||
import * as ManualRestart from "../test/manual-restart-tracker";
|
||||
|
||||
|
|
@ -783,9 +782,6 @@ $(".pageTest").on("click", "#testModesNotice .textButton", (event) => {
|
|||
if (attr === undefined) return;
|
||||
const commands = CommandlineLists.getList(attr);
|
||||
if (commands !== undefined) {
|
||||
if ($(event.currentTarget).attr("commands") === "tags") {
|
||||
updateTagsCommands();
|
||||
}
|
||||
CommandlineLists.pushCurrent(commands);
|
||||
show();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -119,4 +119,3 @@ function update(): void {
|
|||
}
|
||||
|
||||
export default commands;
|
||||
export { update };
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ import {
|
|||
hideFavoriteQuoteLength,
|
||||
showFavoriteQuoteLength,
|
||||
} from "../test/test-config";
|
||||
import { update as updateTagsCommands } from "../commandline/lists/tags";
|
||||
import * as ConnectionState from "../states/connection";
|
||||
import { navigate } from "./route-controller";
|
||||
|
||||
|
|
@ -165,7 +164,6 @@ async function getDataAndInit(): Promise<boolean> {
|
|||
UpdateConfig.saveFullConfigToLocalStorage(true);
|
||||
}
|
||||
AccountButton.loading(false);
|
||||
updateTagsCommands();
|
||||
TagController.loadActiveFromLocalStorage();
|
||||
if (window.location.pathname === "/account") {
|
||||
LoadingPage.updateBar(90);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue