From fed49d3040b927be7f281732c6633897b5f6310c Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Thu, 12 May 2022 09:48:19 -0600 Subject: [PATCH] Hide ante in FR bets tab --- web/components/feed/activity-items.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/components/feed/activity-items.ts b/web/components/feed/activity-items.ts index 04de1d80..0497451c 100644 --- a/web/components/feed/activity-items.ts +++ b/web/components/feed/activity-items.ts @@ -534,6 +534,8 @@ export function getSpecificContractActivityItems( switch (mode) { case 'bets': + // Remove first bet (which is the ante): + if (contract.outcomeType === 'FREE_RESPONSE') bets = bets.slice(1) items.push( ...bets.map((bet) => ({ type: 'bet' as const,