diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index b7fbdfc5..3be39678 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -358,22 +358,26 @@ export function MyBetsSummary(props: { {formatMoney(expectation)} */} - -
- Payout if -
-
- {formatMoney(yesWinnings)} -
- - -
- Payout if -
-
- {formatMoney(noWinnings)} -
- + {isBinary && ( + <> + +
+ Payout if +
+
+ {formatMoney(yesWinnings)} +
+ + +
+ Payout if +
+
+ {formatMoney(noWinnings)} +
+ + + )}
{isBinary ? ( diff --git a/web/pages/[username]/[contractSlug].tsx b/web/pages/[username]/[contractSlug].tsx index 72cacd3f..27141cb3 100644 --- a/web/pages/[username]/[contractSlug].tsx +++ b/web/pages/[username]/[contractSlug].tsx @@ -177,12 +177,8 @@ function BetsSection(props: { return (
- {isBinary && ( - <> - <MyBetsSummary className="px-2" contract={contract} bets={userBets} /> - <Spacer h={6} /> - </> - )} + <MyBetsSummary className="px-2" contract={contract} bets={userBets} /> + <Spacer h={6} /> <ContractBetsTable contract={contract} bets={userBets} /> <Spacer h={12} /> </div>