aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/receive.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-07-25 21:32:44 -0700
committerAdam Soltys <[email protected]>2022-07-25 21:32:44 -0700
commiteb9a9c048ebcda09df0ba31745b9d9a5b543596f (patch)
tree4f6e01f85f8b442b6688638a17194d3ff7118c1f /src/routes/receive.svelte
parent5640d62d160cb6e00289db28d7ff25b6881db71d (diff)
downloadcoinos-ui-eb9a9c048ebcda09df0ba31745b9d9a5b543596f.tar.gz
coinos-ui-eb9a9c048ebcda09df0ba31745b9d9a5b543596f.zip
invoice endpoint
Diffstat (limited to 'src/routes/receive.svelte')
-rw-r--r--src/routes/receive.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/receive.svelte b/src/routes/receive.svelte
index 8d0e95fa..7aa8536f 100644
--- a/src/routes/receive.svelte
+++ b/src/routes/receive.svelte
@@ -1,6 +1,7 @@
<script>
// in the future we will want to allow users to set their fiat currency in the settings
import { AppHeader, Icon } from '$comp';
+ import { goto } from "$app/navigation";
let useFiat = true;
let amountFiat = 0;
@@ -62,8 +63,8 @@
<!-- buttons -->
<div class="space-y-3">
<button
- class="bg-black text-white rounded-xl w-full h-[48px] flex justify-center items-center font-semibold text-sm"
- ><Icon icon="qr" style="mr-2" /> Show QR</button
+ class="bg-black text-white rounded-xl w-full h-[48px] flex justify-center items-center font-semibold text-sm" on:click={() => goto('/invoice')}
+ ><Icon icon="qr" style="mr-2" /> Show QR</button
>
<button
class="bg-primary rounded-xl w-full h-[48px] flex justify-center items-center font-semibold text-sm"