diff --git a/src/elements/NavBar.ts b/src/elements/NavBar.ts index 667f81c..ebf57b3 100644 --- a/src/elements/NavBar.ts +++ b/src/elements/NavBar.ts @@ -1,7 +1,7 @@ import { ListItem } from "./ListItem"; +import { PageRouter } from "../PageSystem/PageRouter"; import { makeElement } from "../htmlUtils"; import i18next from "i18next"; -import { PageRouter } from "../PageSystem/PageRouter"; export function NavBar(router: PageRouter): HTMLElement { return makeElement({ diff --git a/src/main.ts b/src/main.ts index ee4bf48..2867e2b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ declare global { async function onLoad(): Promise { document.body.innerHTML = ""; - document.body.appendChild(makeElement({tag: "div", id: "navBarReplace"})); + document.body.appendChild(makeElement({ tag: "div", id: "navBarReplace" })); document.body.appendChild( makeElement({ tag: "div",