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 | eb19aedebd591cce1d7d52b350cd66c94ae5a05d (patch) | |
| tree | b8106d84145cd5adebe6f6da9a8b7e153cbd502b | |
| parent | 644ce1fb994870edef42a47ccf37b63988506665 (diff) | |
| download | coinos-ui-eb19aedebd591cce1d7d52b350cd66c94ae5a05d.tar.gz coinos-ui-eb19aedebd591cce1d7d52b350cd66c94ae5a05d.zip | |
combined $isLoading and ready conditions
| -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} |
