aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/invoice
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-11 21:25:38 -0800
committerAdam Soltys <[email protected]>2022-11-11 21:25:38 -0800
commit403d419e493ee986e33a480d329fda9c38b3df33 (patch)
tree51fd34039c274df81385c4247a87140b418eebf6 /src/routes/(app)/invoice
parent8f6d0122a182ba5a009624832e8b4ad8099e9d3d (diff)
downloadcoinos-ui-403d419e493ee986e33a480d329fda9c38b3df33.tar.gz
coinos-ui-403d419e493ee986e33a480d329fda9c38b3df33.zip
set bitcoin network
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
>