Include your bet on contracts in default feed
This commit is contained in:
parent
075804bb70
commit
7585a1a649
|
@ -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) =>
|
||||
|
|
Loading…
Reference in New Issue
Block a user