Skip to content

Bet Cancellation & Refund UI #84

Description

@Divineifed1

Priority: HIGH | Labels: frontend, bets, refund, user-actions

Description:
UI for canceling bets and processing refunds.

Implementation:

Add "Cancel Bet" button to components/bets/ActiveBetCard.tsx
Create components/bets/CancelBetModal.tsx - Cancellation reason form
Create components/bets/BetStatusBadge.tsx - Show "Cancelled" status
Update lib/api/bets.ts - Add cancelBet(betId, reason) call
Show refund amount and timeline in modal
Display cancellation in bet history
Toast notification on successful cancellation
Acceptance Criteria:
Users can cancel eligible bets, see refund details, cancellation recorded in history.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions