aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/__layout.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-07-30 14:00:08 -0600
committersecondl1ght <[email protected]>2022-07-30 14:00:08 -0600
commitdd4f645ba8839de54418b59f36119254338a447c (patch)
tree058ff1e25e77f335d1476852336257378c738e3c /src/routes/__layout.svelte
parent19ae0d9eb2f1a1c08b04f5c56e8ebd266ef32da8 (diff)
downloadcoinos-ui-dd4f645ba8839de54418b59f36119254338a447c.tar.gz
coinos-ui-dd4f645ba8839de54418b59f36119254338a447c.zip
add 404 component, remove duplicate redirects, loading splash, fix lgout
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}