diff --git a/web/components/feed/feed-bets.tsx b/web/components/feed/feed-bets.tsx index 2ffdae8e..83656f8e 100644 --- a/web/components/feed/feed-bets.tsx +++ b/web/components/feed/feed-bets.tsx @@ -78,11 +78,19 @@ export function BetStatusText(props: { const { bet, contract, bettor, isSelf, hideOutcome } = props const { outcomeType } = contract const isPseudoNumeric = outcomeType === 'PSEUDO_NUMERIC' + const isFreeResponse = outcomeType === 'FREE_RESPONSE' const { amount, outcome, createdTime } = bet const bought = amount >= 0 ? 'bought' : 'sold' + const outOfTotalAmount = + bet.limitProb !== undefined && bet.orderAmount !== undefined + ? ` / ${formatMoney(bet.orderAmount)}` + : '' const money = formatMoney(Math.abs(amount)) + const hadPoolMatch = + bet.fills?.some((fill) => fill.matchedBetId === null) ?? false + return (