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
commit9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb (patch)
tree7872c36fef5c6050c27b3441ec458e8b9aa65671 /src/routes/__layout.svelte
parentf779cf9547d0e68fe83a7a5fe16e93ff58cc0c07 (diff)
downloadcoinos-ui-9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb.tar.gz
coinos-ui-9291b50da24eec4bd9d96d05e2bb4ae40c61b3bb.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}