From 20ec09b7c6286f3786769d7c84dedeb48d4ea926 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Thu, 17 Feb 2022 18:39:06 -0600 Subject: [PATCH] Remove filter out of binary contracts --- web/pages/home.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/pages/home.tsx b/web/pages/home.tsx index 1568b778..802493d5 100644 --- a/web/pages/home.tsx +++ b/web/pages/home.tsx @@ -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))),