aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/receive.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-29 23:40:59 -0700
committerAdam Soltys <[email protected]>2022-07-29 23:40:59 -0700
commitb972aa21389c20ab9da1a627612bbc1dafeec366 (patch)
tree59ed2a6ec6ba65ef1fc33efebf4484d00eadfc6c /src/routes/receive.svelte
parenta038ce9711f8ae5945eba073c82aa2aeb2bcf5c3 (diff)
downloadcoinos-ui-b972aa21389c20ab9da1a627612bbc1dafeec366.tar.gz
coinos-ui-b972aa21389c20ab9da1a627612bbc1dafeec366.zip
dynamic qr lib import and invoice amount param
Diffstat (limited to 'src/routes/receive.svelte')
-rw-r--r--src/routes/receive.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/receive.svelte b/src/routes/receive.svelte
index 095a2ba3..ff156783 100644
--- a/src/routes/receive.svelte
+++ b/src/routes/receive.svelte
@@ -160,7 +160,7 @@
0
? 'opacity-50'
: 'opacity-100'}"
- on:click={() => goto('/invoice')}
+ on:click={() => goto(`/invoice/${$invoiceAmount}`)}
disabled={$invoiceAmount === 0}><Icon icon="qr" style="mr-2" /> Show QR</button
>
<button