feat: add retry option

This commit is contained in:
Xylight committed 2024-07-04 14:13:36 -07:00
1 parent ef74a4e6d2
commit 25b1ab8d8e
6 files changed
+84 -36

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
<script lang="ts">
import { goto } from '$app/navigation'
import { page } from '$app/stores'
import { t } from '$lib/translations'
import { Button } from 'mono-svelte'
import { Icon, XMark } from 'svelte-hero-icons'
</script>
@@ -18,6 +19,6 @@
{$page.error?.message}
</code>
<Button size="sm" class="w-max" on:click={() => goto($page.url)}>
Retry
{$t('message.retry')}
</Button>
</div>