Skip to content

Commit

Permalink
Merge branch 'dev' into bugfix/CW-2037-stream-content-editing
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Sep 26, 2023
2 parents 2965dad + b94ef03 commit f727e74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/commonFeed/CommonFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ const CommonFeedComponent: FC<CommonFeedProps> = (props) => {
(item) => item.itemId !== sharedFeedItemId,
) || [];

if (sharedFeedItem) {
items.push(sharedFeedItem);
}
if (filteredPinnedItems.length > 0) {
items.push(...filteredPinnedItems);
}
if (sharedFeedItem) {
items.push(sharedFeedItem);
}

return items;
}, [sharedFeedItem, sharedFeedItemId, commonPinnedFeedItems]);
Expand Down

0 comments on commit f727e74

Please sign in to comment.