Skip to content

Frontend] — Finalize event & claim prize flow + PrizePoolSummary#985

Merged
Olowodarey merged 4 commits into
Arena1X:mainfrom
Johnpii1:main
Jun 17, 2026
Merged

Frontend] — Finalize event & claim prize flow + PrizePoolSummary#985
Olowodarey merged 4 commits into
Arena1X:mainfrom
Johnpii1:main

Conversation

@Johnpii1

Copy link
Copy Markdown
Contributor

close #950

Description
Add a new event detail page at frontend/src/app/events/[id]/page.tsx that renders event metadata, a PrizePoolSummary, and an action panel.
Implement onFinalizeEvent and onClaimPrize handlers that call the existing finalizeEvent and claimPayout helpers and update local UI state.
Use getUserPayout to fetch the connected wallet payout for finalized events and track UserPayout to show/hide the claim button.
Update frontend/src/component/PrizePoolSummary.tsx to render an empty-state message when rewardBreakdown is empty while retaining the XLM prize display.

Testing
Ran npm --prefix frontend run build and the frontend compiled successfully with TypeScript checks and Next.js page generation completed.

@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Jun 17, 2026 8:58pm

@Olowodarey Olowodarey merged commit c608613 into Arena1X:main Jun 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] — Finalize event & claim prize flow + PrizePoolSummary

2 participants