File tree Expand file tree Collapse file tree
gaming-livestream/src/components/Chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const ChannelContainer = () => {
1717 } ;
1818
1919 loadChat ( ) ;
20- } , [ client ] ) ;
20+ } , [ client , setActiveChannel ] ) ;
2121
2222 if ( ! channel ) return null ;
2323
Original file line number Diff line number Diff line change 1- import React , { useState } from 'react' ;
1+ import React from 'react' ;
22import { Chat } from 'stream-chat-react' ;
33
44import { init } from 'emoji-mart' ;
@@ -13,7 +13,6 @@ import {useChecklist} from '../../hooks/useChecklistTasks';
1313
1414import { useConnectUser } from '../../hooks/useConnectUser' ;
1515import { useLayoutController } from '../../context/LayoutController' ;
16- import type { Channel as ChannelT } from 'stream-chat' ;
1716import type { StreamChatType } from '../../types' ;
1817import { ChannelContainer } from "./ChannelContainer" ;
1918
You can’t perform that action at this time.
0 commit comments