diff --git a/packages/gitbook/src/components/Search/SearchResults.tsx b/packages/gitbook/src/components/Search/SearchResults.tsx index 45e27e6ec..83bde7d81 100644 --- a/packages/gitbook/src/components/Search/SearchResults.tsx +++ b/packages/gitbook/src/components/Search/SearchResults.tsx @@ -147,7 +147,8 @@ export const SearchResults = React.forwardRef(function SearchResults( clearTimeout(timeout); }; } - }, [query, global, pointer, spaceId, revisionId, withAsk, trackEvent, getCtx]); + }, [query, global, pointer, spaceId, revisionId, withAsk, trackEvent]); + // }, [query, global, pointer, spaceId, revisionId, withAsk, trackEvent, getCtx]); const results: ResultType[] = React.useMemo(() => { if (!withAsk) {