Fixed dashboard errors

Signed-off-by: Romein van Buren <romein@vburen.nl>
This commit is contained in:
2022-07-09 12:46:59 +02:00
parent 689e858228
commit 08bb63415c
4 changed files with 27 additions and 21 deletions

View File

@ -1,5 +1,7 @@
import App from './app.svelte';
export default new App({
target: document.body,
document.addEventListener('DOMContentLoaded', () => {
new App({
target: document.getElementsByTagName('body')[0],
});
});