diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index e32fc3f3..362b4ea5 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -317,7 +317,7 @@ export function MyBetsSummary(props: { const noWinnings = _.sumBy(excludeSales, (bet) => calculatePayout(contract, bet, 'NO') ) - const { invested, profitPercent, payout } = getContractBetMetrics( + const { invested, profitPercent, payout, profit } = getContractBetMetrics( contract, bets ) @@ -343,7 +343,7 @@ export function MyBetsSummary(props: { ) : ( <> - {isBinary && ( + {isBinary ? ( <>