diff --git a/web/app/components/base/search-input/index.tsx b/web/app/components/base/search-input/index.tsx index fe92a5d092..a2752373f1 100644 --- a/web/app/components/base/search-input/index.tsx +++ b/web/app/components/base/search-input/index.tsx @@ -20,6 +20,7 @@ const SearchInput: FC = ({ white, }) => { const { t } = useTranslation() + const inputRef = useRef(null) const [focus, setFocus] = useState(false) const isComposing = useRef(false) const [compositionValue, setCompositionValue] = useState('') @@ -36,6 +37,7 @@ const SearchInput: FC = ({