refactor: remove unnecessary import/export

This commit is contained in:
Miodec 2023-08-23 11:30:12 +02:00
parent 2aa178aede
commit 70b403eaed
3 changed files with 0 additions and 7 deletions

View file

@ -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();
}

View file

@ -119,4 +119,3 @@ function update(): void {
}
export default commands;
export { update };

View file

@ -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);