Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
codespool committed Sep 23, 2024
1 parent 25be04b commit 4351743
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 4351743

Please sign in to comment.