aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/__layout.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/__layout.svelte')
-rw-r--r--src/routes/__layout.svelte3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 85f5a817..0b9a9a64 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -7,6 +7,7 @@
import { page, session } from '$app/stores';
import { browser } from '$app/env';
import { goto } from '$app/navigation';
+ import { LoadingSplash } from '$comp';
browser && ($token ||= $session.token);
let protectedRoutes = [/receive/];
@@ -27,4 +28,6 @@
{#if ready}
<SvelteToast />
<slot />
+{:else}
+ <LoadingSplash />
{/if}