Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 79d4f7a

Browse files
committed
fix(comments): dup init in logic & dup display in avatarRows
1 parent f0d1e59 commit 79d4f7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/AvatarsRow/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ const AvatarsRow = ({
5656
return <span />
5757
}
5858

59+
<<<<<<< HEAD
5960
users = R.filter(validUser, getUniqueArray(users, 'id'))
61+
=======
62+
users = R.filter(validUser, R.uniqBy(R.path('id'), users))
63+
>>>>>>> fix(comments): dup init in logic & dup display in avatarRows
6064
const sortedUsers = reverse ? users : R.reverse(users)
6165

6266
return (

0 commit comments

Comments
 (0)