Skip to content

Commit 9f96ea5

Browse files
authored
chore: Remove currently developing feature (#843)
1 parent 51a272d commit 9f96ea5

File tree

1 file changed

+0
-11
lines changed
  • src/modules/Channel/components/MessageList

1 file changed

+0
-11
lines changed

src/modules/Channel/components/MessageList/index.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ import { useHandleOnScrollCallback } from '../../../../hooks/useHandleOnScrollCa
1919
import { useSetScrollToBottom } from './hooks/useSetScrollToBottom';
2020
import { useScrollBehavior } from './hooks/useScrollBehavior';
2121
import * as utils from '../../context/utils';
22-
import { Member } from '@sendbird/chat/groupChannel';
23-
import TypingIndicatorMessage from '../../../../ui/TypingIndicatorMessage';
2422

2523
const SCROLL_BOTTOM_PADDING = 50;
2624

@@ -61,7 +59,6 @@ const MessageList: React.FC<MessageListProps> = ({
6159
isScrolled,
6260
unreadSince,
6361
unreadSinceDate,
64-
typingMembers,
6562
} = useChannelContext();
6663

6764
const store = useSendbirdStateContext();
@@ -241,14 +238,6 @@ const MessageList: React.FC<MessageListProps> = ({
241238
);
242239
})
243240
}
244-
{
245-
typingMembers.map((typingMember: Member) => {
246-
const isMe = typingMember.userId === store?.config?.userId;
247-
return isMe
248-
? null
249-
: <TypingIndicatorMessage typingMember={typingMember} />;
250-
})
251-
}
252241
{/* show frozen notifications, */}
253242
{/* show new message notifications, */}
254243
</div>

0 commit comments

Comments
 (0)