aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Lnurlw.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-27 16:14:25 -0800
committerAdam Soltys <[email protected]>2026-02-27 16:14:25 -0800
commit0a1981a48832e4cf8822a523474f67f9dfb2f27f (patch)
treef49f22ebb58d103c24c6627ae2382e8f3e401393 /src/components/Lnurlw.svelte
parent16da2cb00d16f87d02535bfdae815f83f19f251f (diff)
downloadcoinos-ui-0a1981a48832e4cf8822a523474f67f9dfb2f27f.tar.gz
coinos-ui-0a1981a48832e4cf8822a523474f67f9dfb2f27f.zip
fix svelte-check issues
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();