Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(store): remove SearchParameters explicit import
Browse files Browse the repository at this point in the history
Algolia helper doesn't export SearchParameters
  • Loading branch information
rayrutjes committed May 26, 2017
1 parent 56c856c commit 4c665fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import algolia from 'algoliasearch';
import algoliaHelper, { SearchParameters } from 'algoliasearch-helper';
import algoliaHelper from 'algoliasearch-helper';
import { version } from '../package.json';

export const FACET_AND = 'and';
Expand Down Expand Up @@ -315,7 +315,7 @@ export class Store {
if (params.page !== undefined) {
params.page = params.page - 1;
}
const newSearchParameters = SearchParameters.make(params);
const newSearchParameters = algoliaHelper.SearchParameters.make(params);
this._helper.setState(newSearchParameters);
}

Expand Down

0 comments on commit 4c665fe

Please sign in to comment.