Improve relay access checks, content loading

This commit is contained in:
Jon Staab
2024-10-10 17:09:01 -07:00
parent 83d892afc3
commit 597ebddf82
14 changed files with 127 additions and 104 deletions
+4 -4
View File
@@ -5,8 +5,8 @@
{#if $toast}
{@const theme = $toast.theme || "info"}
{#key $toast.id}
<div transition:fly class="toast z-toast">
<div transition:fly class="toast z-toast">
{#key $toast.id}
<div
role="alert"
class="alert flex justify-center"
@@ -14,6 +14,6 @@
class:alert-error={theme === "error"}>
{$toast.message}
</div>
</div>
{/key}
{/key}
</div>
{/if}