Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
roienatan committed Oct 4, 2023
1 parent 1fecf86 commit f514693
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
padding: 0 !important;
}

.modalChildren {
height: 100%;
width: 100%;
padding-top: 0.5rem;
box-sizing: border-box;
}

.header {
display: flex;
flex-direction: row;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/commonFeed/components/FeedLayout/FeedLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ const FeedLayout: ForwardRefRenderFunction<FeedLayoutRef, FeedLayoutProps> = (
isLoading={loading}
loaderDelay={LOADER_APPEARANCE_DELAY}
>
{allFeedItems?.map((item) => {
{allFeedItems?.map((item, index) => {
const isActive = item.itemId === activeFeedItemId;

if (checkIsFeedItemFollowLayoutItem(item)) {
Expand All @@ -662,7 +662,7 @@ const FeedLayout: ForwardRefRenderFunction<FeedLayoutRef, FeedLayoutProps> = (
ref={(ref) => {
refsByItemId.current[item.itemId] = ref;
}}
key={item.feedItem.id}
key={item.feedItem.id + index}
commonMember={commonMember}
commonId={commonData?.id}
commonName={commonData?.name || ""}
Expand Down

0 comments on commit f514693

Please sign in to comment.