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

View file

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