File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ const DrawerNavigatorWrapper: React.FC<{
185185 < Chat < StreamChatGenerics >
186186 client = { chatClient }
187187 enableOfflineSupport
188+ // @ts -expect-error
188189 ImageComponent = { FastImage }
189190 >
190191 < AppOverlayProvider >
Original file line number Diff line number Diff line change @@ -18,9 +18,11 @@ import { BottomSheetOverlayProvider } from './BottomSheetOverlayContext';
1818import { ChannelInfoOverlayProvider } from './ChannelInfoOverlayContext' ;
1919import { UserInfoOverlayProvider } from './UserInfoOverlayContext' ;
2020
21- export const AppOverlayProvider : React . FC < {
22- value ?: Partial < AppOverlayContextValue > ;
23- } > = ( props ) => {
21+ export const AppOverlayProvider = (
22+ props : React . PropsWithChildren < {
23+ value ?: Partial < AppOverlayContextValue > ;
24+ } > ,
25+ ) => {
2426 const { children, value } = props ;
2527
2628 const [ overlay , setOverlay ] = useState ( value ?. overlay || 'none' ) ;
Original file line number Diff line number Diff line change @@ -6,9 +6,10 @@ export type UserSearchContextValue = PaginatedUsers;
66
77export const UserSearchContext = React . createContext ( { } as UserSearchContextValue ) ;
88
9- export const UserSearchProvider : React . FC < {
10- value ?: UserSearchContextValue ;
11- } > = ( { children, value } ) => {
9+ export const UserSearchProvider = (
10+ props : React . PropsWithChildren < { value ?: UserSearchContextValue } > ,
11+ ) => {
12+ const { children, value } = props ;
1213 const paginatedUsers = usePaginatedUsers ( ) ;
1314
1415 const userSearchContext = { ...paginatedUsers , ...value } ;
You can’t perform that action at this time.
0 commit comments