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.svelte3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/(app)/payment/[id]/+page.svelte b/src/routes/(app)/payment/[id]/+page.svelte
index d3cc0b1b..8168208d 100644
--- a/src/routes/(app)/payment/[id]/+page.svelte
+++ b/src/routes/(app)/payment/[id]/+page.svelte
@@ -57,8 +57,9 @@
<span class="text-lg text-secondary">Tip</span>
<div>
{f(fiat(tip, rate), currency)}
+({Math.round((tip * 100) / Math.abs(a))}%)
<span class="text-secondary text-lg">
- ⚡️{s(tip)}
+ ⚡️{s(tip)}
</span>
</div>
</div>