Fix 'undefined chance' in metatag description

This commit is contained in:
James Grugett 2022-02-22 14:17:58 -06:00
parent 8fe9f23d91
commit 185e68fa23

View File

@ -197,7 +197,9 @@ const getOpenGraphProps = (contract: Contract) => {
const description = resolution const description = resolution
? `Resolved ${resolution}. ${contract.description}` ? `Resolved ${resolution}. ${contract.description}`
: `${probPercent} chance. ${contract.description}` : probPercent
? `${probPercent} chance. ${contract.description}`
: contract.description
return { return {
question, question,