IO-2208 removed subscriptions to the message

This commit is contained in:
swtmply
2023-06-09 01:04:59 +08:00
parent 27e0f497bb
commit 046d104bfa
4 changed files with 17 additions and 109 deletions

View File

@@ -24,15 +24,8 @@ function ChatConversationListComponent({
conversationList,
selectedConversation,
setSelectedConversation,
subscribeToMoreConversations,
loadMoreConversations,
}) {
useEffect(
() => subscribeToMoreConversations(),
// eslint-disable-next-line react-hooks/exhaustive-deps
[]
);
const rowRenderer = ({ index, key, style }) => {
const item = conversationList[index];