Skip to content

Commit e4c241a

Browse files
author
vikasrohit
authored
Merge pull request #1395 from appirio-tech/issue#1359-spurious-avatars-render
Issue#1359 spurious avatars render
2 parents d22127e + 6483a96 commit e4c241a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AvatarGroup/AvatarGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function AvatarGroup({ users }) {
1515
}
1616
return (
1717
<div className="AvatarGroup">
18-
{ users.map(renderAvatar) }
18+
{ _.uniqBy(users, 'userId').map(renderAvatar) }
1919
</div>
2020
)
2121
}

0 commit comments

Comments
 (0)