diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index d6ce9c6a..8716934c 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -98,6 +98,8 @@ export function BetPanel(props: { contract: Contract; className?: string }) { : 0 const estimatedReturnPercent = (estimatedReturn * 100).toFixed() + '%' + const remainingBalance = (user?.balance || 0) - (betAmount || 0) + return (