Remove filter out of binary contracts
This commit is contained in:
parent
0a3b14883c
commit
20ec09b7c6
|
@ -30,10 +30,6 @@ export async function getStaticProps() {
|
|||
listAllFolds().catch(() => []),
|
||||
])
|
||||
|
||||
// TODO(James): Remove this line. We are filtering out non-binary contracts so that
|
||||
// branches other than free-response work.
|
||||
contracts = contracts.filter((contract) => contract.outcomeType === 'BINARY')
|
||||
|
||||
const [contractBets, contractComments] = await Promise.all([
|
||||
Promise.all(contracts.map((contract) => listAllBets(contract.id))),
|
||||
Promise.all(contracts.map((contract) => listAllComments(contract.id))),
|
||||
|
|
Loading…
Reference in New Issue
Block a user