Fix missing key console error

This commit is contained in:
James Grugett 2022-08-10 12:33:21 -05:00
parent 35df201e2e
commit 654790315c

View File

@ -338,7 +338,11 @@ const GroupMessage = memo(function GroupMessage_(props: {
</Row> </Row>
<div className="mt-2 text-black"> <div className="mt-2 text-black">
{comments.map((comment) => ( {comments.map((comment) => (
<Content content={comment.content || comment.text} smallImage /> <Content
key={comment.id}
content={comment.content || comment.text}
smallImage
/>
))} ))}
</div> </div>
<Row> <Row>