From b7c1ffc1e9f6adf3824b232d088a636cd11f0854 Mon Sep 17 00:00:00 2001 From: Vasek Sraier Date: Mon, 30 Nov 2020 00:44:34 +0100 Subject: [PATCH] main.ts: trying to remove HTML content from the target div --- frontend/src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index f89291c..39440e7 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -1,5 +1,7 @@ import App from './App.svelte'; +document.getElementById("page").innerHTML = ""; + const app = new App({ target: document.getElementById("page")!, props: { }