Hide ante in FR bets tab

This commit is contained in:
Ian Philips 2022-05-12 09:48:19 -06:00
parent 31f57f8ff2
commit fed49d3040

View File

@ -534,6 +534,8 @@ export function getSpecificContractActivityItems(
switch (mode) { switch (mode) {
case 'bets': case 'bets':
// Remove first bet (which is the ante):
if (contract.outcomeType === 'FREE_RESPONSE') bets = bets.slice(1)
items.push( items.push(
...bets.map((bet) => ({ ...bets.map((bet) => ({
type: 'bet' as const, type: 'bet' as const,