Render graph for multiple choice embeds

This commit is contained in:
James Grugett 2022-08-26 00:23:50 -05:00 committed by mantikoros
parent 04a8509212
commit 488b442f66

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} />
)}