diff --git a/packages/cli/src/components/SearchBox.tsx b/packages/cli/src/components/SearchBox.tsx index 15d50ab..872778e 100644 --- a/packages/cli/src/components/SearchBox.tsx +++ b/packages/cli/src/components/SearchBox.tsx @@ -50,7 +50,7 @@ export function SearchBox({ setQueryMode(false) setQuery(suggestions[selected] ?? '') } - }, [selected, onChange]) + }, [selected, suggestions, onChange]) const app = useApp()