yuto-o 4 лет назад
Родитель
Сommit
10a978116e
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/app/src/components/SearchPage/SearchControl.tsx

+ 2 - 2
packages/app/src/components/SearchPage/SearchControl.tsx

@@ -7,8 +7,8 @@ type Props = {
   searchingKeyword: string,
   searchingKeyword: string,
   appContainer: AppContainer,
   appContainer: AppContainer,
   onSearchInvoked: (data : any[]) => boolean,
   onSearchInvoked: (data : any[]) => boolean,
-  onExcludeUsersHome: (() => void) | null,
-  onExcludeTrash: (() => void) | null,
+  onExcludeUsersHome?: () => void,
+  onExcludeTrash?: () => void,
 }
 }
 
 
 const SearchControl: FC <Props> = (props: Props) => {
 const SearchControl: FC <Props> = (props: Props) => {