Skip to content

Commit

Permalink
add missing import (#710)
Browse files Browse the repository at this point in the history
  • Loading branch information
codespool authored Sep 23, 2024
1 parent 25be04b commit 49f4d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/SearchBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function DocSearch({ contextualSearch, externalUrlRegex, ...props }) {
...props.searchParameters,
facetFilters,
};
const { query: externalQuery } = useSearch();
const { query: externalQuery, setQuery: setExternalQuery } = useSearch();
const history = useHistory();
const searchContainer = useRef(null);
const searchButtonRef = useRef(null);
Expand Down

0 comments on commit 49f4d6a

Please sign in to comment.