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 | 50df815dfbdd3d9188bcd8e14631686dedf7bbff (patch) | |
| tree | df353e0ef443cff7a3a066dfeb133d116fbd04c5 | |
| parent | 7f2282e1f4846fabfe34cc996171b1bee1db3019 (diff) | |
| download | coinos-ui-50df815dfbdd3d9188bcd8e14631686dedf7bbff.tar.gz coinos-ui-50df815dfbdd3d9188bcd8e14631686dedf7bbff.zip | |
fix sats amount formatting
| -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); |
