diff --git a/web/components/answers/answer-item.tsx b/web/components/answers/answer-item.tsx index 7952a347..a761c151 100644 --- a/web/components/answers/answer-item.tsx +++ b/web/components/answers/answer-item.tsx @@ -15,6 +15,7 @@ import { formatPercent } from '../../../common/util/format' import { getOutcomeProbability } from '../../../common/calculate' import { tradingAllowed } from '../../lib/firebase/contracts' import { AnswerBetPanel } from './answer-bet-panel' +import { ContractFeed } from '../contract-feed' export function AnswerItem(props: { answer: Answer @@ -50,11 +51,11 @@ export function AnswerItem(props: { return ( - +
{text}
- + {/* TODO: replace with ContractDetails */} +
{name}
- -
- -
- - {createdDate} - -
-
-
#{number}
+ + {isBetting && ( + + )} {isBetting ? ( @@ -92,11 +94,11 @@ export function AnswerItem(props: { closePanel={() => setIsBetting(false)} /> ) : ( - + {!wasResolvedTo && (showChoice === 'checkbox' ? ( -