Skip to content

Commit f076c89

Browse files
committed
refactor: remove redundant console.log
1 parent 53eeafb commit f076c89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package/src/components/MessageList/MessageList.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,6 @@ const MessageListWithContext = <
541541

542542
const handleEvent = async (event: Event<StreamChatGenerics>) => {
543543
const mainChannelUpdated = !event.message?.parent_id || event.message?.show_in_channel;
544-
console.log(mainChannelUpdated, shouldMarkRead());
545544
// When the scrollToBottomButtonVisible is true, we need to manually update the channelUnreadState.
546545
if (scrollToBottomButtonVisible || channelUnreadState?.first_unread_message_id) {
547546
setChannelUnreadState((prev) => {

0 commit comments

Comments
 (0)