diff options
| author | Adam Soltys <[email protected]> | 2022-09-16 10:42:26 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-16 10:42:26 -0700 |
| commit | 83ac6e6114a0efb6fbea9c11d95932103fb2c636 (patch) | |
| tree | 816dedabbe19915c9ba531e0cf859b0efb42db27 /src | |
| parent | 34289fb5adb8685b6068ba7764d23bc988dedd90 (diff) | |
| download | coinos-ui-83ac6e6114a0efb6fbea9c11d95932103fb2c636.tar.gz coinos-ui-83ac6e6114a0efb6fbea9c11d95932103fb2c636.zip | |
fix sats amount formatting
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte index 35bd06bb..c69ff5f0 100644 --- a/src/routes/invoice/[id]/+page.svelte +++ b/src/routes/invoice/[id]/+page.svelte @@ -75,7 +75,7 @@ $: totalAmountFormatted = f(amountFiat + parseFloat(tipAmount), currency); - const amountFormatted = f(amount, currency); + const amountFormatted = s(amount); $: invoiceAmountFiatFormatted = f(amountFiat, currency); |
