File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
packages/autocomplete-plugin-recent-searches/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ export function createRecentSearchesPlugin<TItem extends RecentSearchesItem>({
9292 // because we need to resolve the promise before getting the value.
9393 if ( ! Array . isArray ( lastItemsRef . current ) ) {
9494 // @TODO : use the `warn` function from `autocomplete-core`
95+ // eslint-disable-next-line no-console
9596 console . warn (
9697 'The `getAlgoliaQuerySuggestionsFacetFilters` function is not supported with storages that return promises in `getAll`.'
9798 ) ;
@@ -106,6 +107,7 @@ export function createRecentSearchesPlugin<TItem extends RecentSearchesItem>({
106107 // is called because we need to resolve the promise before getting the value.
107108 if ( ! Array . isArray ( lastItemsRef . current ) ) {
108109 // @TODO : use the `warn` function from `autocomplete-core`
110+ // eslint-disable-next-line no-console
109111 console . warn (
110112 'The `getAlgoliaQuerySuggestionsHitsPerPage` function is not supported with storages that return promises in `getAll`.'
111113 ) ;
You can’t perform that action at this time.
0 commit comments