Include your bet on contracts in default feed

This commit is contained in:
James Grugett 2022-03-19 22:37:57 -05:00
parent 075804bb70
commit 7585a1a649

View File

@ -74,7 +74,10 @@ export const useFilterYourContracts = (
if (yourBetContracts && followedFoldIds) {
// Show default contracts if no folds are followed.
if (followedFoldIds.length === 0)
yourContracts = contracts.filter(includedWithDefaultFeed)
yourContracts = contracts.filter(
(contract) =>
includedWithDefaultFeed(contract) || yourBetContracts.has(contract.id)
)
else
yourContracts = contracts.filter(
(contract) =>