aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/payment
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)/payment')
-rw-r--r--src/routes/(app)/payment/[id]/+page.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte
index c3f8cdf0..34e2d327 100644
--- a/src/routes/(app)/payment/[id]/+page.svelte
+++ b/src/routes/(app)/payment/[id]/+page.svelte
@@ -61,8 +61,8 @@
<div>
<span class="text-lg text-secondary">Total</span>
<div>
- {f(fiat(a + tip || 0, rate), currency)}
- <span class="text-secondary text-lg">⚡️{`${s(a + tip || 0)}`} </span>
+ {f(fiat(a + (tip || 0), rate), currency)}
+ <span class="text-secondary text-lg">⚡️{`${s(a + (tip || 0))}`} </span>
</div>
</div>
{/if}