diff --git a/src/app/api/create_invoice/route.ts b/src/app/api/create_invoice/route.ts index 14cd9e9..2d567cf 100644 --- a/src/app/api/create_invoice/route.ts +++ b/src/app/api/create_invoice/route.ts @@ -74,4 +74,5 @@ async function* check_payment(invoice: Invoice) { } yield `data: ${JSON.stringify({ status: "settled" })}\n\n`; + return; } diff --git a/src/app/goal/[eventId]/page.tsx b/src/app/goal/[eventId]/page.tsx index 6abae8f..5a77f16 100644 --- a/src/app/goal/[eventId]/page.tsx +++ b/src/app/goal/[eventId]/page.tsx @@ -90,7 +90,11 @@ export default async function GoalPage({ params }: PageProps) {
diff --git a/src/app/profile/[npub]/page.tsx b/src/app/profile/[npub]/page.tsx index 298bbe6..420ed95 100644 --- a/src/app/profile/[npub]/page.tsx +++ b/src/app/profile/[npub]/page.tsx @@ -10,7 +10,7 @@ interface PageProps { params: { npub: string }; } -export default async function GoalPage({ params }: PageProps) { +export default async function ProfilePage({ params }: PageProps) { const profile = await getUser(params.npub); const banner = profile.getBanner(); @@ -51,7 +51,14 @@ export default async function GoalPage({ params }: PageProps) {Obrigado por ajudar na nossa meta!.
+ {eventId ? ( +Obrigado por ajudar na nossa meta!.
+ ) : ( +Obrigado por usar o LiveSatoshi.
+ )}