aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoices
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-03 11:41:09 -0800
committerAdam Soltys <[email protected]>2026-02-11 15:33:27 -0800
commit4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch)
tree2ab903d969946ddd6129f2e6b796368adeef65cd /src/routes/(app)/invoices
parent8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff)
downloadcoinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz
coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip
fix warnings
Diffstat (limited to 'src/routes/(app)/invoices')
-rw-r--r--src/routes/(app)/invoices/+page.svelte8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/routes/(app)/invoices/+page.svelte b/src/routes/(app)/invoices/+page.svelte
index fbacb2df..fa2ad549 100644
--- a/src/routes/(app)/invoices/+page.svelte
+++ b/src/routes/(app)/invoices/+page.svelte
@@ -15,13 +15,15 @@
{#if show[i.id]}
<div class="md:col-span-8">{i.hash}</div>
{:else}
- <div
- class="cursor-pointer grow md:col-span-6"
+ <button
+ type="button"
+ class="cursor-pointer grow md:col-span-6 text-left"
onclick={() => display(i.id)}
+ aria-label="Show full invoice hash"
>
{i.hash.substr(0, 12)}
{#if !show[i.id]}...{/if}
- </div>
+ </button>
{/if}
<div class="md:col-span-2 whitespace-nowrap">
{i.received} / {i.amount}