Render graph for multiple choice embeds

This commit is contained in:
James Grugett 2022-08-26 00:23:50 -05:00
parent 539bfba70c
commit 6f2e2a3bbb

View File

@ -166,7 +166,8 @@ export function ContractEmbed(props: { contract: Contract; bets: Bet[] }) {
/> />
)} )}
{outcomeType === 'FREE_RESPONSE' && ( {(outcomeType === 'FREE_RESPONSE' ||
outcomeType === 'MULTIPLE_CHOICE') && (
<AnswersGraph contract={contract} bets={bets} height={graphHeight} /> <AnswersGraph contract={contract} bets={bets} height={graphHeight} />
)} )}