瀏覽代碼

feat(header): ts-ignore

Lind 3 年之前
父節點
當前提交
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
   } = props;
 
+  // @ts-ignore
   const inputRef = useRef<Input | null>(null);
 
   const [value, setValue] = useMergedState<string | undefined>(defaultValue, {