diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 5aa9e9a0..67e7d476 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -124,11 +124,12 @@ export function BetPanel(props: { contract: Contract; className?: string }) { ? 'btn-disabled' : betChoice === 'YES' ? 'btn-primary' - : 'bg-red-400 hover:bg-red-500 border-none' + : 'bg-red-400 hover:bg-red-500 border-none', + isSubmitting ? 'loading' : '' )} onClick={betDisabled ? undefined : submitBet} > - Place bet + {isSubmitting ? 'Submitting...' : 'Place bet'} {wasSubmitted &&