mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-06 23:43:45 +02:00
fix: add key to mapped items
This commit is contained in:
@@ -10,7 +10,7 @@ export function StackedAvatars({ authors }: StackedAvatarsProps) {
|
||||
return (
|
||||
<SC.StackedAvatarsWrapper count={authors.length}>
|
||||
{authors.map((author, index) => (
|
||||
<SC.AuthorAvatar src={author.avatar} index={index} />
|
||||
<SC.AuthorAvatar key={index} src={author.avatar} index={index} />
|
||||
))}
|
||||
</SC.StackedAvatarsWrapper>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user