diff --git a/web/components/contract/contract-card.tsx b/web/components/contract/contract-card.tsx index 266d1fc2..6f83ccb9 100644 --- a/web/components/contract/contract-card.tsx +++ b/web/components/contract/contract-card.tsx @@ -37,6 +37,7 @@ export function ContractCard(props: { const { showHotVolume, showCloseTime, className } = props const contract = useContractWithPreload(props.contract) ?? props.contract const { question, outcomeType } = contract + const { resolution } = contract const marketClosed = (contract.closeTime || Infinity) < Date.now() const showQuickBet = !( @@ -73,12 +74,19 @@ export function ContractCard(props: { {question}

- {outcomeType === 'FREE_RESPONSE' && ( - } - truncate="long" - /> - )} + {outcomeType === 'FREE_RESPONSE' && + (resolution ? ( + + ) : ( + } + truncate="long" + /> + ))} {resolution ? ( <> -
Resolved
- +
+ Resolved +
+ {(resolution === 'CANCEL' || resolution === 'MKT') && ( + + )} ) : ( topAnswer && (