diff --git a/src/UI/StatisticsGUI.ts b/src/UI/StatisticsGUI.ts index f3e6591345..5bbf0d2a31 100644 --- a/src/UI/StatisticsGUI.ts +++ b/src/UI/StatisticsGUI.ts @@ -1,4 +1,4 @@ -import { default as StatisticsSvelte } from "../UI/Statistics/StatisticsGui.svelte" +import StatisticsSvelte from "../UI/Statistics/StatisticsGui.svelte" const target = document.getElementById("main") target.innerHTML = "" diff --git a/src/index.ts b/src/index.ts index ced703d5a6..f7afb22783 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import DetermineTheme from "./Logic/DetermineTheme" -import { default as SingleThemeGui } from "./UI/SingleThemeGui.svelte" -import { default as CustomThemeError } from "./UI/CustomThemeError.svelte" +import SingleThemeGui from "./UI/SingleThemeGui.svelte" +import CustomThemeError from "./UI/CustomThemeError.svelte" async function main() { diff --git a/src/index_theme.ts.template b/src/index_theme.ts.template index 76a86c3322..f4fd0ce774 100644 --- a/src/index_theme.ts.template +++ b/src/index_theme.ts.template @@ -1,5 +1,5 @@ import MetaTagging from "./src/Logic/MetaTagging" -import {default as SingleThemeGui} from "./UI/SingleThemeGui.svelte" +import SingleThemeGui from "./src/UI/SingleThemeGui.svelte" async function main() {