Skip to content

Commit 4d1eb24

Browse files
committed
MAGE-999: code updated as per code review suggestions
1 parent 6cacce7 commit 4d1eb24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

view/frontend/web/js/autocomplete.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ define([
1515
], function (
1616
$,
1717
algoliaBundle,
18-
algoliaSearch,
19-
algoliaAutocomplete,
18+
algoliasearch,
19+
autocomplete,
2020
pagesHtml,
2121
categoriesHtml,
2222
productsHtml,
@@ -43,7 +43,7 @@ define([
4343
* Initialise Algolia client
4444
* Docs: https://www.algolia.com/doc/api-client/getting-started/instantiate-client-index/
4545
**/
46-
const searchClient = algoliaSearch(
46+
const searchClient = algoliasearch(
4747
algoliaConfig.applicationId,
4848
algoliaConfig.apiKey
4949
);

0 commit comments

Comments
 (0)