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 ab5ca71 commit 99816a4Copy full SHA for 99816a4
package/src/components/Message/MessageSimple/ReactionList.tsx
@@ -312,7 +312,9 @@ const areEqual = <StreamChatGenerics extends DefaultStreamChatGenerics = Default
312
Array.isArray(prevReactions) && Array.isArray(nextReactions)
313
? prevReactions.length === nextReactions.length &&
314
prevReactions.every(
315
- ({ type }, index) => type === nextMessage.latest_reactions?.[index].type,
+ ({ count, type }, index) =>
316
+ type === nextMessage.latest_reactions?.[index].type &&
317
+ count === nextMessage.latest_reactions?.[index].count,
318
)
319
: prevReactions === nextReactions;
320
0 commit comments