diff options
| author | Adam Soltys <[email protected]> | 2023-02-23 00:29:33 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-23 00:29:33 -0800 |
| commit | c1c019beae03bbebde70557e1d0a9e064a48927c (patch) | |
| tree | 141ea29828f1698c90a56a09162e723efc5ec762 /src | |
| parent | 6c97cdad982687fe336d63888bfa66997c9ac48d (diff) | |
| download | coinos-ui-c1c019beae03bbebde70557e1d0a9e064a48927c.tar.gz coinos-ui-c1c019beae03bbebde70557e1d0a9e064a48927c.zip | |
fix amount display bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/send/user/[username]/[...amount]/+page.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
