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 | c17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12 (patch) | |
| tree | 99775a842a2c8d81db01f972ac4b967970ff95d4 /src/routes/invoice | |
| parent | f8de16cd01251d608853a83a2ba7877462833d69 (diff) | |
| download | coinos-ui-c17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12.tar.gz coinos-ui-c17cf8d8c7a8ed252aa6895f03dae15a3fcd0c12.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; |
