aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/__layout.svelte4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte
index 907badc5..0efe74bc 100644
--- a/src/routes/__layout.svelte
+++ b/src/routes/__layout.svelte
@@ -31,11 +31,9 @@
});
</script>
-{#if ready}
+{#if ready && !$isLoading}
<SvelteToast options={{ reversed: true, intro: { y: 192 } }} />
<slot />
-{:else if $isLoading}
- The page is still loading. Please reload the page.
{:else}
<LoadingSplash />
{/if}