aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Lnurlw.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Lnurlw.svelte')
-rw-r--r--src/components/Lnurlw.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Lnurlw.svelte b/src/components/Lnurlw.svelte
index b952b082..c3c17925 100644
--- a/src/components/Lnurlw.svelte
+++ b/src/components/Lnurlw.svelte
@@ -20,7 +20,7 @@
let callback = $derived(data.callback);
let rate = $derived(data.rate);
- let amount = $state(Math.round(minWithdrawable / 1000));
+ let amount = $state((() => Math.round(data.minWithdrawable / 1000))());
let amountFiat = $derived(parseFloat(((amount * rate) / sats).toFixed(2)));
let submit: HTMLButtonElement | undefined = $state();