diff options
| -rw-r--r-- | src/components/Lnurlp.svelte | 2 | ||||
| -rw-r--r-- | src/components/Lnurlw.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/invoice/[id]/+page.svelte | 3 | ||||
| -rw-r--r-- | src/routes/(app)/send/invoice/[id]/+page.svelte | 3 |
4 files changed, 4 insertions, 6 deletions
diff --git a/src/components/Lnurlp.svelte b/src/components/Lnurlp.svelte index 6f9a2b26..ab869e22 100644 --- a/src/components/Lnurlp.svelte +++ b/src/components/Lnurlp.svelte @@ -39,7 +39,7 @@ </div> {/if} - <Numpad bind:amount bind:rate {currency} bind:submit={send} /> + <Numpad bind:amount {rate} {currency} bind:submit={send} /> <form action="?/pay" method="POST" use:enhance onsubmit={submit}> <input name="amount" value={amount} type="hidden" /> diff --git a/src/components/Lnurlw.svelte b/src/components/Lnurlw.svelte index a9b6695a..cf2185ec 100644 --- a/src/components/Lnurlw.svelte +++ b/src/components/Lnurlw.svelte @@ -53,7 +53,7 @@ </div> </div> {:else} - <Numpad bind:amount {currency} bind:rate /> + <Numpad bind:amount {currency} {rate} /> {/if} <form action="?/withdraw" method="POST" use:enhance onsubmit={submit}> diff --git a/src/routes/(app)/invoice/[id]/+page.svelte b/src/routes/(app)/invoice/[id]/+page.svelte index 3ad20f68..3b7b33ef 100644 --- a/src/routes/(app)/invoice/[id]/+page.svelte +++ b/src/routes/(app)/invoice/[id]/+page.svelte @@ -1,6 +1,5 @@ <script> - import { run } from "svelte/legacy"; - + import { untrack } from "svelte"; import { enhance } from "$app/forms"; import { send } from "$lib/socket"; import { btc, post, copy, f, get, types, sat, s, sats } from "$lib/utils"; diff --git a/src/routes/(app)/send/invoice/[id]/+page.svelte b/src/routes/(app)/send/invoice/[id]/+page.svelte index f0811f2e..1267d71b 100644 --- a/src/routes/(app)/send/invoice/[id]/+page.svelte +++ b/src/routes/(app)/send/invoice/[id]/+page.svelte @@ -1,6 +1,5 @@ <script> - import { run } from "svelte/legacy"; - + import { untrack } from "svelte"; import handler from "$lib/handler"; import { onDestroy, onMount } from "svelte"; import { t } from "$lib/translations"; |
