aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/send
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-28 09:09:49 -0800
committerAdam Soltys <[email protected]>2024-11-28 09:09:49 -0800
commit0593b1664a36aaebdc293305fa2be6f653b68319 (patch)
treebf3439801e80c70cfcecabb3d92c67170dc820e5 /src/routes/(app)/send
parent596c54b5f3e56be4a6f2f5506d83775edd6235f2 (diff)
downloadcoinos-ui-0593b1664a36aaebdc293305fa2be6f653b68319.tar.gz
coinos-ui-0593b1664a36aaebdc293305fa2be6f653b68319.zip
fix untrack
Diffstat (limited to 'src/routes/(app)/send')
-rw-r--r--src/routes/(app)/send/lightning/[payreq]/+page.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/(app)/send/lightning/[payreq]/+page.svelte b/src/routes/(app)/send/lightning/[payreq]/+page.svelte
index a4474fe0..589194ea 100644
--- a/src/routes/(app)/send/lightning/[payreq]/+page.svelte
+++ b/src/routes/(app)/send/lightning/[payreq]/+page.svelte
@@ -31,7 +31,7 @@
let next = $state();
let toggle = () => (show = !show);
let amount = $derived(form?.amount || data.amount);
- let maxfee = $state(Math.max(5, Math.round(untrack(amount) * 0.005)));
+ let maxfee = $state(Math.max(5, Math.round(untrack(() => amount) * 0.005)));
</script>
<div class="container px-4 max-w-xl mx-auto text-center space-y-2">