For you: remove contracts bet on by anyone you follow.

This commit is contained in:
James Grugett 2022-08-31 21:57:11 -05:00
parent 58e671e640
commit ee76f4188b

View File

@ -323,10 +323,6 @@ function ContractSearchControls(props: {
.map((slug) => `groupLinks.slug:${slug}`) .map((slug) => `groupLinks.slug:${slug}`)
// Show contracts created by users the user follows // Show contracts created by users the user follows
.concat(follows?.map((followId) => `creatorId:${followId}`) ?? []) .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. // Subtract contracts you bet on from For you.
state.pillFilter === 'personal' && user state.pillFilter === 'personal' && user