aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InvoiceData.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/InvoiceData.svelte')
-rw-r--r--src/components/InvoiceData.svelte5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/InvoiceData.svelte b/src/components/InvoiceData.svelte
index 64f0f4d9..2852e97a 100644
--- a/src/components/InvoiceData.svelte
+++ b/src/components/InvoiceData.svelte
@@ -53,13 +53,10 @@
{#if !showQr || txt?.length <= 120}
<div
data-testid="invoice-text"
+onclick={() => copy(txt)} aria-label="Copy invoice"
class="break-all text-center text-secondary text-xl flex gap-1 items-center justify-center"
>
{txt}
-
- <button type="button" onclick={() => copy(txt)} aria-label="Copy invoice">
- <iconify-icon noobserver icon="ph:copy-bold" width="32"></iconify-icon>
- </button>
</div>
{/if}