We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b25a2 commit de612efCopy full SHA for de612ef
src/app/(auth-required)/main/Content.tsx
@@ -108,7 +108,11 @@ export const Content = () => {
108
/>
109
) : (
110
joinedPosts?.map((item, index, array) => (
111
- <Section key={item.id} ref={index === array.length - 1 ? ref : undefined} {...item} />
+ <Section
112
+ key={item?.id ?? index}
113
+ ref={index === array.length - 1 ? ref : undefined}
114
+ {...item}
115
+ />
116
))
117
)}
118
</div>
0 commit comments