Skip to content

Commit e84fff1

Browse files
committed
fix: omit setting the state to false explicitly
1 parent 9f4279d commit e84fff1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package/src/components/MessageList/MessageList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ const MessageListWithContext = (props: MessageListPropsWithContext) => {
425425
// the unread notification to appear (for example if the old last read messages
426426
// go out of the viewport).
427427
if (processedMessageList.length !== messagesLength.current) {
428-
setIsUnreadNotificationOpen(false);
429428
return;
430429
}
431430
messagesLength.current = processedMessageList.length;

0 commit comments

Comments
 (0)