Chore: small refactorings

This commit is contained in:
Pieter Vander Vennet 2025-01-22 02:27:26 +01:00
parent 176a7d655b
commit 4525a9d5ed
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,5 @@
import SvelteUIElement from "./Base/SvelteUIElement"
import { default as StatisticsSvelte } from "../UI/Statistics/StatisticsGui.svelte"
new SvelteUIElement(StatisticsSvelte).AttachTo("main")
const target = document.getElementById("main")
target.innerHTML = ""
new StatisticsSvelte({ target })