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.
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.