aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Lnurlp.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-26 13:36:28 -0800
committerAdam Soltys <[email protected]>2026-02-26 13:36:28 -0800
commita5faa64ba470f935ea3e7932feece3cd9fbadb90 (patch)
tree79ec7d6cb2038b5920d5cca977a244fbb189923c /src/components/Lnurlp.svelte
parentb137cdfca84cf68a2b8a620ba1c55337e88a0050 (diff)
downloadcoinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.tar.gz
coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.zip
ark tests
Diffstat (limited to 'src/components/Lnurlp.svelte')
-rw-r--r--src/components/Lnurlp.svelte4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Lnurlp.svelte b/src/components/Lnurlp.svelte
index cde26d86..757a2540 100644
--- a/src/components/Lnurlp.svelte
+++ b/src/components/Lnurlp.svelte
@@ -6,9 +6,11 @@
import Numpad from "$comp/Numpad.svelte";
import Spinner from "$comp/Spinner.svelte";
import { pin } from "$lib/store";
+ import { loc } from "$lib/utils";
let { data, form, send = $bindable(), comment = $bindable() } = $props();
let currency = $derived(data.user.currency);
+ let locale = $derived(loc(data.user));
let minSendable = $derived(data.minSendable);
let maxSendable = $derived(data.maxSendable);
let commentAllowed = $derived(data.commentAllowed);
@@ -39,7 +41,7 @@
<div class="text-red-600 text-center mb-5">{form.error}</div>
{/if}
- <Numpad bind:amount {rate} {currency} bind:submit={send} />
+ <Numpad bind:amount {rate} {currency} {locale} bind:submit={send} />
<form action="?/pay" method="POST" use:enhance onsubmit={submit}>
<input name="amount" value={amount} type="hidden" />