aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/search/SearchInput.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard/search/SearchInput.tsx')
-rw-r--r--apps/web/components/dashboard/search/SearchInput.tsx2
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>>,