From 50296ccde06dc7892b0c6bd1546030f495564b28 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 3 Jan 2025 15:24:31 -0800 Subject: nostr sign in --- src/routes/(app)/invoice/[id]/paid/+page.svelte | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/routes/(app)/invoice') diff --git a/src/routes/(app)/invoice/[id]/paid/+page.svelte b/src/routes/(app)/invoice/[id]/paid/+page.svelte index a13692d7..bc61d7fe 100644 --- a/src/routes/(app)/invoice/[id]/paid/+page.svelte +++ b/src/routes/(app)/invoice/[id]/paid/+page.svelte @@ -2,29 +2,36 @@ import Amount from "$comp/Amount.svelte"; import Success from "$comp/Success.svelte"; import { t } from "$lib/translations"; + import { loc } from "$lib/utils"; let { data } = $props(); let { amount, currency, rate, received, pending, tip, user, id } = $derived( data.invoice, ); + let locale = $derived(loc(user)); // toast.pop(0);
{#if pending} -

Payment detected

- + {:else} {/if} -- cgit v1.2.3