Skip to content

Commit

Permalink
Merge branch 'dev' into feature/CW-2116-loader-delay
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Sep 26, 2023
2 parents dece8a0 + b94ef03 commit be220d0
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 @@ -192,12 +192,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 be220d0

Please sign in to comment.