We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f372769 commit c4d1a2bCopy full SHA for c4d1a2b
package/src/components/Message/MessageSimple/ReactionList.tsx
@@ -313,8 +313,8 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
313
? prevReactions.length === nextReactions.length &&
314
prevReactions.every(
315
({ count, type }, index) =>
316
- type === nextMessage.latest_reactions?.[index].type &&
317
- count === nextMessage.latest_reactions?.[index].count,
+ type === nextMessage.latest_reactions?.[index]?.type &&
+ count === nextMessage.latest_reactions?.[index]?.count,
318
)
319
: prevReactions === nextReactions;
320
0 commit comments