Fix explore on dev
This commit is contained in:
parent
7b70b9b3bd
commit
1af0740f10
|
@ -181,7 +181,7 @@ export function getContractBetNullMetrics() {
|
|||
export function getTopAnswer(contract: FreeResponseContract) {
|
||||
const { answers } = contract
|
||||
const top = _.maxBy(
|
||||
answers.map((answer) => ({
|
||||
answers?.map((answer) => ({
|
||||
answer,
|
||||
prob: getOutcomeProbability(contract, answer.id),
|
||||
})),
|
||||
|
|
Loading…
Reference in New Issue
Block a user