File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
gaming-livestream/src/components/Chat Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const ChannelContainer = () => {
17
17
} ;
18
18
19
19
loadChat ( ) ;
20
- } , [ client ] ) ;
20
+ } , [ client , setActiveChannel ] ) ;
21
21
22
22
if ( ! channel ) return null ;
23
23
Original file line number Diff line number Diff line change 1
- import React , { useState } from 'react' ;
1
+ import React from 'react' ;
2
2
import { Chat } from 'stream-chat-react' ;
3
3
4
4
import { init } from 'emoji-mart' ;
@@ -13,7 +13,6 @@ import {useChecklist} from '../../hooks/useChecklistTasks';
13
13
14
14
import { useConnectUser } from '../../hooks/useConnectUser' ;
15
15
import { useLayoutController } from '../../context/LayoutController' ;
16
- import type { Channel as ChannelT } from 'stream-chat' ;
17
16
import type { StreamChatType } from '../../types' ;
18
17
import { ChannelContainer } from "./ChannelContainer" ;
19
18
You can’t perform that action at this time.
0 commit comments