fix: missing keys

This commit is contained in:
plebeius.eth
2023-10-21 10:19:41 +02:00
parent a35faaa388
commit 0939d658a5
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -81,6 +81,7 @@ const Post = ({ content, postQuoteOnClick, postQuoteOnOver, postQuoteOnLeave, po
parts.push( parts.push(
<ForwardRefLink <ForwardRefLink
key={`quotelink-${i}-${lastIndex}`}
className='quotelink' className='quotelink'
to={linkTo} to={linkTo}
target={linkTarget} target={linkTarget}
+2 -2
View File
@@ -328,8 +328,8 @@ const Home = () => {
<h2>Popular Threads</h2> <h2>Popular Threads</h2>
</div> </div>
<BoardsContent> <BoardsContent>
{sfwListCids.map((cid) => ( {sfwListCids.map((cid, index) => (
<PopularThreads commentCid={cid} /> <PopularThreads key={index} commentCid={cid} />
))} ))}
</BoardsContent> </BoardsContent>
</BoardsBox> </BoardsBox>