feat: add retry option
This commit is contained in:
1 parent
ef74a4e6d2
commit
25b1ab8d8e
6 files changed
+84
-36
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user