diff --git a/src/App.svelte b/src/App.svelte index 83c783c..2a2d369 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -18,7 +18,9 @@ onMount(async () => { try { await invoke("authenticate"); - void router.push({ resource: "home" }); + if ($activeRouteStore.resource === "booting") { + void router.push({ resource: "home" }); + } // eslint-disable-next-line @typescript-eslint/no-explicit-any } catch (e: any) { void router.push({