aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-15 18:11:12 -0600
committersecondl1ght <[email protected]>2022-09-15 18:11:12 -0600
commitc17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12 (patch)
tree99775a842a2c8d81db01f972ac4b967970ff95d4 /src/routes/invoice
parentf8de16cd01251d608853a83a2ba7877462833d69 (diff)
downloadcoinos-ui-c17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12.tar.gz
coinos-ui-c17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12.zip
format
Diffstat (limited to 'src/routes/invoice')
-rw-r--r--src/routes/invoice/[id]/+page.svelte4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte
index 978e2b9a..35bd06bb 100644
--- a/src/routes/invoice/[id]/+page.svelte
+++ b/src/routes/invoice/[id]/+page.svelte
@@ -52,9 +52,7 @@
$: tipAmountSats = s(tip);
- $: totalAmountSats = s(
- amount + parseFloat(tipAmountSats.replace(/,/g, ''))
- );
+ $: totalAmountSats = s(amount + parseFloat(tipAmountSats.replace(/,/g, '')));
let apply = async () => {
tipPercent = (customTipAmount / amountFiat) * 100;