aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/routes/invoice/[id]/+page.svelte5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte
index 352ac719..df25c359 100644
--- a/src/routes/invoice/[id]/+page.svelte
+++ b/src/routes/invoice/[id]/+page.svelte
@@ -23,8 +23,7 @@
let image = '/images/invoice.svg';
let qr;
-
- amount -= tip;
+ let tipPercent = 0;
let refresh = (data) => {
({ invoice, id } = data);
@@ -48,8 +47,6 @@
$: amountFiat = parseFloat(((amount * rate) / 100000000).toFixed(2));
- let tipPercent = 0;
-
$: tipAmount = ((tip * rate) / 100000000).toFixed(2);
$: tipAmountFormatted = new Intl.NumberFormat('en-US', {