diff options
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/invoice.svelte | 6 | ||||
| -rw-r--r-- | src/routes/receive.svelte | 10 |
2 files changed, 5 insertions, 11 deletions
diff --git a/src/routes/invoice.svelte b/src/routes/invoice.svelte index 7df1cb99..b8f9e54b 100644 --- a/src/routes/invoice.svelte +++ b/src/routes/invoice.svelte @@ -2,7 +2,7 @@ import { rate, user } from '$lib/store'; import { onMount } from 'svelte'; - export let text; + export let text; </script> QR code @@ -13,8 +13,6 @@ QR code {$user?.username} - {#each $user.payments as p} - {p.amount}<br/> + {p.amount}<br /> {/each} - diff --git a/src/routes/receive.svelte b/src/routes/receive.svelte index 7aa8536f..73d3cc06 100644 --- a/src/routes/receive.svelte +++ b/src/routes/receive.svelte @@ -1,7 +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"; + import { goto } from '$app/navigation'; let useFiat = true; let amountFiat = 0; @@ -63,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" on:click={() => goto('/invoice')} - ><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" @@ -73,7 +73,3 @@ </div> </div> </div> - -<!-- step 2 customer adds tip and pays --> - -<!-- step 3 success screen --> |
