diff options
| author | secondl1ght <[email protected]> | 2022-09-15 18:11:12 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-09-15 18:11:12 -0600 |
| commit | e986a33449ed9c59238e195b1bc77c459400f6b3 (patch) | |
| tree | f933f90ecaf809763be2b7f23b07a4178692bb02 /src/routes/invoice | |
| parent | 91332f1665f252040d1c5895afa16d3c54deb009 (diff) | |
| download | coinos-ui-e986a33449ed9c59238e195b1bc77c459400f6b3.tar.gz coinos-ui-e986a33449ed9c59238e195b1bc77c459400f6b3.zip | |
format
Diffstat (limited to 'src/routes/invoice')
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 4 |
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; |
