diff --git a/web/components/answers-panel.tsx b/web/components/answers-panel.tsx index 3f54600e..483190ef 100644 --- a/web/components/answers-panel.tsx +++ b/web/components/answers-panel.tsx @@ -418,7 +418,7 @@ function CreateAnswerInput(props: { contract: Contract }) { <>
- Ante bet (cannot be sold) + Ante (cannot be sold)
{outcomes.map((outcome, index) => ( - <> + {index !== outcomes.length - 1 &&
} - +
))}
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))),