diff --git a/src/pages/commonFeed/CommonFeed.tsx b/src/pages/commonFeed/CommonFeed.tsx index 191e704a33..a1ed5b2049 100644 --- a/src/pages/commonFeed/CommonFeed.tsx +++ b/src/pages/commonFeed/CommonFeed.tsx @@ -192,12 +192,12 @@ const CommonFeedComponent: FC = (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]);