diff --git a/src/modules/Channel/components/MessageList/index.tsx b/src/modules/Channel/components/MessageList/index.tsx index f352e7a16..a7336f1ad 100644 --- a/src/modules/Channel/components/MessageList/index.tsx +++ b/src/modules/Channel/components/MessageList/index.tsx @@ -19,8 +19,6 @@ import { useHandleOnScrollCallback } from '../../../../hooks/useHandleOnScrollCa import { useSetScrollToBottom } from './hooks/useSetScrollToBottom'; import { useScrollBehavior } from './hooks/useScrollBehavior'; import * as utils from '../../context/utils'; -import { Member } from '@sendbird/chat/groupChannel'; -import TypingIndicatorMessage from '../../../../ui/TypingIndicatorMessage'; const SCROLL_BOTTOM_PADDING = 50; @@ -61,7 +59,6 @@ const MessageList: React.FC = ({ isScrolled, unreadSince, unreadSinceDate, - typingMembers, } = useChannelContext(); const store = useSendbirdStateContext(); @@ -241,14 +238,6 @@ const MessageList: React.FC = ({ ); }) } - { - typingMembers.map((typingMember: Member) => { - const isMe = typingMember.userId === store?.config?.userId; - return isMe - ? null - : ; - }) - } {/* show frozen notifications, */} {/* show new message notifications, */}