Skip to content

Commit

Permalink
🐛 fix: fix avatar key
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jun 7, 2023
1 parent f933e2e commit 26df41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Awareness/Avatars/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Avatars = memo(() => {
return (
<A.Group>
{awarenessStates?.filter(Boolean).map(({ user, active }, index) => (
<AvatarWrapper active={active} key={`${user.id}-${index}`} {...user} />
<AvatarWrapper active={active} key={`${user?.id}-${index}`} {...user} />
))}
</A.Group>
);
Expand Down

0 comments on commit 26df41f

Please sign in to comment.