diff options
| author | Adrien Hopkins <[email protected]> | 2022-08-16 13:56:08 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-08-16 13:56:08 -0500 |
| commit | 154d0c8f986fcc2dc2954f9f407099d275cc7672 (patch) | |
| tree | 21391757bf1322f6fa2fdaad0c17a80f20109db2 /src | |
| parent | 0194110c0573e55b35b88e98b2f8325be61cec81 (diff) | |
| download | coinos-ui-154d0c8f986fcc2dc2954f9f407099d275cc7672.tar.gz coinos-ui-154d0c8f986fcc2dc2954f9f407099d275cc7672.zip | |
combined $isLoading and ready conditions
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/__layout.svelte | 4 |
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} |
