aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Invoice.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Invoice.svelte')
-rw-r--r--src/components/Invoice.svelte2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Invoice.svelte b/src/components/Invoice.svelte
index a8d9cfc6..b0cd58a2 100644
--- a/src/components/Invoice.svelte
+++ b/src/components/Invoice.svelte
@@ -21,7 +21,7 @@
</div>
</div>
<div class="mx-auto my-auto flex gap-2">
- <a href={`/invoice/${$invoice.id}/tip`}>
+ <a href={`/${invoice.user.username}/invoice/${$invoice.id}/tip`}>
<button class="rounded-full border py-2 px-4 font-bold hover:opacity-80 w-32">
{$t('payments.pay')}
</button>