File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const useAppSettings = <
88 StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics ,
99> (
1010 client : StreamChat < StreamChatGenerics > ,
11- isOnline : boolean ,
11+ isOnline : boolean | null ,
1212) : AppSettingsAPIResponse | null => {
1313 const [ appSettings , setAppSettings ] = useState < AppSettingsAPIResponse | null > ( null ) ;
1414 const isMounted = useRef ( true ) ;
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export type ChatContextValue<
3636 connectionRecovering : boolean ;
3737 enableOfflineSupport : boolean ;
3838 ImageComponent : React . ComponentType < ImageProps > ;
39- isOnline : boolean ;
39+ isOnline : boolean | null ;
4040 mutedUsers : Mute < StreamChatGenerics > [ ] ;
4141 /**
4242 * @param newChannel Channel to set as active.
You can’t perform that action at this time.
0 commit comments