1
0
Fork 0

Make code compile again due to broken imports sorting.

This commit is contained in:
Kitteh 2021-05-12 15:25:25 +01:00
parent 9aef234ff3
commit 6914edbeb7
2 changed files with 5 additions and 2 deletions

View file

@ -5,6 +5,7 @@
/* eslint-disable */ /* eslint-disable */
import "./scss/main.scss"; import "./scss/main.scss";
import UIkit from 'uikit'; import UIkit from 'uikit';
// Don't Sort These!
import Icons from 'uikit/dist/js/uikit-icons'; import Icons from 'uikit/dist/js/uikit-icons';
// @ts-ignore // @ts-ignore
UIkit.use(Icons); UIkit.use(Icons);
@ -24,12 +25,13 @@ import { getSealStatus } from "./api/sys/getSealStatus";
import { makeElement } from "./htmlUtils"; import { makeElement } from "./htmlUtils";
import { pageState } from "./globalPageState"; import { pageState } from "./globalPageState";
import { playground } from "./playground"; import { playground } from "./playground";
import { TitleBar } from "./elements/TitleBar";
// Translations // Translations
import { formatDistance } from './formatDistance'; import { formatDistance } from './formatDistance';
import i18next from 'i18next'; import i18next from 'i18next';
// @ts-ignore // @ts-ignore
import { TitleBar } from "./elements/TitleBar";
import translations from './translations/index.mjs'; import translations from './translations/index.mjs';
declare global { declare global {

View file

@ -4,8 +4,9 @@ import { changePage, setPageContent } from "../pageUtils";
import { makeElement } from "../htmlUtils"; import { makeElement } from "../htmlUtils";
import { pageState } from "../globalPageState"; import { pageState } from "../globalPageState";
import i18next from 'i18next'; import i18next from 'i18next';
// @ts-ignore
import { reloadTitleBar } from "../elements/TitleBar"; import { reloadTitleBar } from "../elements/TitleBar";
// @ts-ignore
import translations from "../translations/index.mjs"; import translations from "../translations/index.mjs";
const languageIDs = Object.getOwnPropertyNames(translations); const languageIDs = Object.getOwnPropertyNames(translations);