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(
<ForwardRefLink
key={`quotelink-${i}-${lastIndex}`}
className='quotelink'
to={linkTo}
target={linkTarget}
+2 -2
View File
@@ -328,8 +328,8 @@ const Home = () => {
<h2>Popular Threads</h2>
</div>
<BoardsContent>
{sfwListCids.map((cid) => (
<PopularThreads commentCid={cid} />
{sfwListCids.map((cid, index) => (
<PopularThreads key={index} commentCid={cid} />
))}
</BoardsContent>
</BoardsBox>