Fixed a minor issue related to the teaclient

canary
WolverinDEV 2020-08-19 19:41:05 +02:00
parent 07c1f6ff15
commit 14fb1fda54
1 changed files with 1 additions and 2 deletions

View File

@ -2,8 +2,6 @@ import * as loader from "tc-loader";
import * as ipc from "../../../ipc/BrowserIPC";
import * as i18n from "../../../i18n/localize";
import "tc-shared/proto";
import {Stage} from "tc-loader";
import {AbstractModal, ModalRenderer} from "tc-shared/ui/react-elements/ModalDefinitions";
import {Settings, SettingsKey} from "tc-shared/settings";
@ -26,6 +24,7 @@ loader.register_task(Stage.JAVASCRIPT_INITIALIZING, {
name: "setup",
priority: 110,
function: async () => {
await import("tc-shared/proto");
await i18n.initialize();
ipc.setup();
}