From ee76f4188b35646b8b56197f10300de7134ad729 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 31 Aug 2022 21:57:11 -0500 Subject: [PATCH] For you: remove contracts bet on by anyone you follow. --- web/components/contract-search.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index 4b9f0713..f8b7622e 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -323,10 +323,6 @@ function ContractSearchControls(props: { .map((slug) => `groupLinks.slug:${slug}`) // Show contracts created by users the user follows .concat(follows?.map((followId) => `creatorId:${followId}`) ?? []) - // Show contracts bet on by users the user follows - .concat( - follows?.map((followId) => `uniqueBettorIds:${followId}`) ?? [] - ) : '', // Subtract contracts you bet on from For you. state.pillFilter === 'personal' && user