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
commite986a33449ed9c59238e195b1bc77c459400f6b3 (patch)
treef933f90ecaf809763be2b7f23b07a4178692bb02 /src/routes/invoice
parent91332f1665f252040d1c5895afa16d3c54deb009 (diff)
downloadcoinos-ui-e986a33449ed9c59238e195b1bc77c459400f6b3.tar.gz
coinos-ui-e986a33449ed9c59238e195b1bc77c459400f6b3.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;