Fix 'undefined chance' in metatag description
This commit is contained in:
parent
8fe9f23d91
commit
185e68fa23
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user