Explorar el Código

fix lint error

Yuki Takei hace 1 año
padre
commit
05d5109b47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      apps/app/src/client/components/SearchTypeahead.tsx

+ 1 - 1
apps/app/src/client/components/SearchTypeahead.tsx

@@ -125,7 +125,7 @@ const SearchTypeahead: ForwardRefRenderFunction<IFocusable, Props> = (props: Pro
    *
    */
   const DELAY_FOR_SUBMISSION = 100;
-  const timeoutIdRef = useRef<NodeJS.Timeout>(undefined);
+  const timeoutIdRef = useRef<NodeJS.Timeout>();
 
   const changeHandler = useCallback((selectedItems: IPageWithSearchMeta[]) => {
     // cancel schedule to submit