From 77219cc4fa9e75d2ca2f740f024c17aa5dda9129 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 13 Mar 2023 13:19:35 -0700 Subject: fix tip display --- src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte b/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte index 3a281728..4d7aae51 100644 --- a/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte @@ -21,7 +21,7 @@ {#if received}

{$t('invoice.paymentSuccessful')}

- {f(fiat(received - tip, rate), currency)} + {f(fiat(received, rate), currency)} {#if tip} + {f(fiat(tip, rate), currency)} @@ -29,7 +29,7 @@ {/if}

- ⚡️{s(received - tip)} + ⚡️{s(received)} {#if tip} @@ -48,7 +48,7 @@ {/if}

- ⚡️{s(pending - tip)} + ⚡️{s(pending)} {#if tip} + ⚡️{s(tip)} -- cgit v1.2.3