diff options
| author | Adam Soltys <[email protected]> | 2024-11-28 09:09:49 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-28 09:09:49 -0800 |
| commit | c7a6b7a89a79bc6a11d75e43c6e1cb03dc4d5a18 (patch) | |
| tree | bf3439801e80c70cfcecabb3d92c67170dc820e5 /src/routes/(app)/send | |
| parent | abbd5917a4d3d154614a3d48b23df25867668a8e (diff) | |
| download | coinos-ui-c7a6b7a89a79bc6a11d75e43c6e1cb03dc4d5a18.tar.gz coinos-ui-c7a6b7a89a79bc6a11d75e43c6e1cb03dc4d5a18.zip | |
fix untrack
Diffstat (limited to 'src/routes/(app)/send')
| -rw-r--r-- | src/routes/(app)/send/lightning/[payreq]/+page.svelte | 2 |
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"> |
