Merge branch 'main' into add-liquidity
This commit is contained in:
commit
3f5735c8a1
|
@ -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