aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/invoice')
-rw-r--r--src/routes/(app)/invoice/[id]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte
index b37e4cb3..5efcb176 100644
--- a/src/routes/(app)/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/invoice/[id]/+page.svelte
@@ -104,7 +104,7 @@
<div class="flex gap-2 justify-center">
<button
class="flex rounded-full border py-2 px-5 font-bold hover:opacity-80"
- on:click={() => copy(text)}
+ on:click={() => copy(address ? address : text)}
><Icon icon="copy" style="mr-1" />
<div>Copy</div></button
>