diff --git a/src/components/SearchBar/index.tsx b/src/components/SearchBar/index.tsx index 63a43e6b..e14e6568 100644 --- a/src/components/SearchBar/index.tsx +++ b/src/components/SearchBar/index.tsx @@ -66,6 +66,7 @@ const SearchBar = forwardRef< if (!input) { onSearch(null) } + setSelectedIndex(-1) }, [input]) useEffect(() => {