From c1c019beae03bbebde70557e1d0a9e064a48927c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 23 Feb 2023 00:29:33 -0800 Subject: fix amount display bug --- src/routes/(app)/send/user/[username]/[...amount]/+page.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte index 9704e3c6..f861c90d 100644 --- a/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte +++ b/src/routes/(app)/send/user/[username]/[...amount]/+page.svelte @@ -16,10 +16,11 @@ let amount = form?.amount || data.amount; let a, af, - amountFiat = amount * ($selectedRate / sats), fiat = !amount, hash; + $: amountFiat = amount * ($selectedRate / sats); + let setAmount = async () => { amount = a; amountFiat = af; -- cgit v1.2.3