filter out redemption bets
This commit is contained in:
parent
b550bbe07d
commit
a0833b4764
|
@ -14,7 +14,9 @@ export function ContractProbGraph(props: {
|
|||
const { contract } = props
|
||||
const { resolutionTime, closeTime } = contract
|
||||
|
||||
const bets = useBetsWithoutAntes(contract, props.bets)
|
||||
const bets = useBetsWithoutAntes(contract, props.bets).filter(
|
||||
(b) => !b.isRedemption
|
||||
)
|
||||
|
||||
const startProb = getInitialProbability(contract)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user