aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-12-30 22:56:56 -0800
committerAdam Soltys <[email protected]>2024-12-30 22:56:56 -0800
commitb5015d1161f9cd3e916182e737a1c67186b1cebc (patch)
treed6244c752699f95b31dd9e525696ae3372342c99
parent38e786c0d3c2280dd69f22ddf7cdf6ca804e6048 (diff)
downloadcoinos-ui-b5015d1161f9cd3e916182e737a1c67186b1cebc.tar.gz
coinos-ui-b5015d1161f9cd3e916182e737a1c67186b1cebc.zip
pass user
-rw-r--r--src/components/Payments.svelte2
-rw-r--r--src/routes/(app)/fund/[id]/+page.svelte2
-rw-r--r--src/routes/(app)/payments/[...page]/+page.svelte2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Payments.svelte b/src/components/Payments.svelte
index a4331a42..4f5c4894 100644
--- a/src/components/Payments.svelte
+++ b/src/components/Payments.svelte
@@ -5,7 +5,7 @@
import { format } from "date-fns";
import { t } from "$lib/translations";
import locales from "$lib/locales";
- const { fund, locale, payments } = $props();
+ const { fund, locale, user, payments } = $props();
</script>
<div class="text-base">
diff --git a/src/routes/(app)/fund/[id]/+page.svelte b/src/routes/(app)/fund/[id]/+page.svelte
index 5d6ca777..77a975c1 100644
--- a/src/routes/(app)/fund/[id]/+page.svelte
+++ b/src/routes/(app)/fund/[id]/+page.svelte
@@ -89,7 +89,7 @@
{$t("payments.lnurlw")}
</a>
</div>
- <Payments {payments} fund={true} {locale} />
+ <Payments {payments} fund={true} {locale} {user} />
</div>
</div>
</div>
diff --git a/src/routes/(app)/payments/[...page]/+page.svelte b/src/routes/(app)/payments/[...page]/+page.svelte
index 9ef38df5..bde01193 100644
--- a/src/routes/(app)/payments/[...page]/+page.svelte
+++ b/src/routes/(app)/payments/[...page]/+page.svelte
@@ -201,7 +201,7 @@
{/if}
</div>
- <Payments {payments} locale={locale} />
+ <Payments {payments} locale={locale} {user} />
<div class="grid grid-cols-3 w-full text-center text-lg">
{#each Object.keys(incoming) as c}