aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/invoice/[id]/paid/+page.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/[id]/paid/+page.svelte b/src/routes/(app)/invoice/[id]/paid/+page.svelte
index 43423668..39803c46 100644
--- a/src/routes/(app)/invoice/[id]/paid/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/paid/+page.svelte
@@ -8,6 +8,7 @@
let { amount, currency, rate, received, pending, tip, user, id } = $derived(data.invoice);
let locale = $derived(loc(user));
+ let link: HTMLAnchorElement;
// toast.pop(0);
</script>
@@ -30,7 +31,7 @@
{/if}
</div>
-<a href={`/${user.username}`} aria-label="Continue">
+<a bind:this={link} href={`/${user.username}`} aria-label="Continue" autofocus>
<div class="opacity-0 w-screen h-screen fixed top-24 left-0 z-50"></div>
</a>