Skip to content

Commit 07a9659

Browse files
fix: add keys to tag list
1 parent b882457 commit 07a9659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ArticleBlock.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function ArticleBlock({
2929
{tags.length != 0 ? (
3030
<div className="tags">
3131
{tags?.map((tag) => (
32-
<Tag>{tag}</Tag>
32+
<Tag key={tag}>{tag}</Tag>
3333
))}
3434
</div>
3535
) : null}

0 commit comments

Comments
 (0)