diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx
index 1ca7b38a..c375e167 100644
--- a/web/components/bets-list.tsx
+++ b/web/components/bets-list.tsx
@@ -292,7 +292,7 @@ export function ContractBetsTable(props: {
))}
@@ -302,8 +302,8 @@ export function ContractBetsTable(props: {
)
}
-function BetRow(props: { bet: Bet; contract: Contract; sale?: Bet }) {
- const { bet, sale, contract } = props
+function BetRow(props: { bet: Bet; contract: Contract; saleBet?: Bet }) {
+ const { bet, saleBet, contract } = props
const {
amount,
outcome,
@@ -328,8 +328,8 @@ function BetRow(props: { bet: Bet; contract: Contract; sale?: Bet }) {
{formatWithCommas(shares)} |
- {sale ? (
- <>{formatMoney(Math.abs(sale.amount))} (sold)>
+ {saleBet?.sale ? (
+ <>{formatMoney(Math.abs(saleBet.sale.amount))} (sold)>
) : (
formatMoney(
isResolved
|