Add betting activity back to feed
This commit is contained in:
parent
53c79f41a3
commit
57572e0908
|
@ -432,24 +432,13 @@ export function getRecentContractActivityItems(
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
const onlyUsersBetsOrBetsWithComments = bets.filter((bet) =>
|
|
||||||
comments.some(
|
|
||||||
(comment) => comment.betId === bet.id || bet.userId === user?.id
|
|
||||||
)
|
|
||||||
)
|
|
||||||
items.push(
|
items.push(
|
||||||
...groupBetsAndComments(
|
...groupBetsAndComments(bets, comments, contract, user?.id, {
|
||||||
onlyUsersBetsOrBetsWithComments,
|
hideOutcome: false,
|
||||||
comments,
|
abbreviated: true,
|
||||||
contract,
|
smallAvatar: false,
|
||||||
user?.id,
|
reversed: true,
|
||||||
{
|
})
|
||||||
hideOutcome: false,
|
|
||||||
abbreviated: true,
|
|
||||||
smallAvatar: false,
|
|
||||||
reversed: true,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user