diff options
Diffstat (limited to 'apps/web/components/dashboard/search')
| -rw-r--r-- | apps/web/components/dashboard/search/SearchInput.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/search/SearchInput.tsx b/apps/web/components/dashboard/search/SearchInput.tsx index 0de7694a..dad995e1 100644 --- a/apps/web/components/dashboard/search/SearchInput.tsx +++ b/apps/web/components/dashboard/search/SearchInput.tsx @@ -35,7 +35,7 @@ import QueryExplainerTooltip from "./QueryExplainerTooltip"; const MAX_DISPLAY_SUGGESTIONS = 5; function useFocusSearchOnKeyPress( - inputRef: React.RefObject<HTMLInputElement>, + inputRef: React.RefObject<HTMLInputElement | null>, value: string, setValue: (value: string) => void, setPopoverOpen: React.Dispatch<React.SetStateAction<boolean>>, |
