Yuki Takei 4 yıl önce
ebeveyn
işleme
fa88ce7dcc

+ 2 - 1
packages/app/src/components/SearchTypeahead.tsx

@@ -1,6 +1,6 @@
 import React, {
 import React, {
   FC, ForwardRefRenderFunction, forwardRef, useImperativeHandle,
   FC, ForwardRefRenderFunction, forwardRef, useImperativeHandle,
-  KeyboardEvent, useCallback, useReducer, useRef, useState,
+  KeyboardEvent, useCallback, useRef, useState,
 } from 'react';
 } from 'react';
 // eslint-disable-next-line no-restricted-imports
 // eslint-disable-next-line no-restricted-imports
 import { AxiosResponse } from 'axios';
 import { AxiosResponse } from 'axios';
@@ -43,6 +43,7 @@ type Props = TypeaheadProps & {
   onSubmit?: (input: string) => void,
   onSubmit?: (input: string) => void,
   inputName?: string,
   inputName?: string,
   keywordOnInit?: string,
   keywordOnInit?: string,
+  // eslint-disable-next-line @typescript-eslint/no-explicit-any
   helpElement?: any,
   helpElement?: any,
   behaviorOfResetBtn?: 'restore' | 'clear',
   behaviorOfResetBtn?: 'restore' | 'clear',
 };
 };