aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-13 14:20:39 -0800
committerAdam Soltys <[email protected]>2026-02-13 14:20:39 -0800
commitbf7ef1ee9c508f2a9d5067409df396ae53c7a276 (patch)
treea8e69f6d2bd704078a35a935f8440bff98ca3477 /src
parent09ff8bf821efe22864cbb9dc91dce64a1a65026c (diff)
downloadcoinos-ui-bf7ef1ee9c508f2a9d5067409df396ae53c7a276.tar.gz
coinos-ui-bf7ef1ee9c508f2a9d5067409df396ae53c7a276.zip
focus continue link
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>