diff --git a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js index d0f2d0b585ca..c3d6f557442f 100644 --- a/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js +++ b/packages/docusaurus-theme-search-algolia/src/theme/SearchBar/index.js @@ -92,8 +92,8 @@ function DocSearch({contextualSearch, ...props}) { ); const navigator = useRef({ - navigate({suggestionUrl}) { - history.push(suggestionUrl); + navigate({itemUrl}) { + history.push(itemUrl); }, }).current;