aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-16 10:42:26 -0700
committerAdam Soltys <[email protected]>2022-09-16 10:42:26 -0700
commit83ac6e6114a0efb6fbea9c11d95932103fb2c636 (patch)
tree816dedabbe19915c9ba531e0cf859b0efb42db27 /src
parent34289fb5adb8685b6068ba7764d23bc988dedd90 (diff)
downloadcoinos-ui-83ac6e6114a0efb6fbea9c11d95932103fb2c636.tar.gz
coinos-ui-83ac6e6114a0efb6fbea9c11d95932103fb2c636.zip
fix sats amount formatting
Diffstat (limited to 'src')
-rw-r--r--src/routes/invoice/[id]/+page.svelte2
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);