@cometchat/chat-uikit-react-native 5.3.1 → 5.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react-native",
3
- "version": "5.3.1",
3
+ "version": "5.3.2",
4
4
  "description": "Ready-to-use Chat UI Components for React Native",
5
5
  "main": "src/index",
6
6
  "module": "src/index",
@@ -1113,9 +1113,10 @@ export const CometChatMessageList = memo(
1113
1113
 
1114
1114
  } else {
1115
1115
  for (let index = 0; index < previousMessagesFetched.length; index++) {
1116
+ const message=previousMessagesFetched[index];
1116
1117
  CometChat.markAsRead(message).catch((error: any) => {
1117
1118
  console.log("Error marking message as read", error);
1118
- });sage = previousMessagesFetched[index];
1119
+ })
1119
1120
  if (
1120
1121
  message &&
1121
1122
  !message.hasOwnProperty("readAt") &&