浏览代码

feat(header): ts-ignore

Lind 4 年之前
父节点
当前提交
15044d1a35
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/components/HeaderSearch/index.tsx

+ 1 - 0
src/components/HeaderSearch/index.tsx

@@ -31,6 +31,7 @@ const HeaderSearch: React.FC<HeaderSearchProps> = (props) => {
     ...restProps
     ...restProps
   } = props;
   } = props;
 
 
+  // @ts-ignore
   const inputRef = useRef<Input | null>(null);
   const inputRef = useRef<Input | null>(null);
 
 
   const [value, setValue] = useMergedState<string | undefined>(defaultValue, {
   const [value, setValue] = useMergedState<string | undefined>(defaultValue, {