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

Commit

Permalink
fix(Index): onSearchParameters with correct context
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Mar 26, 2019
1 parent 31b4b2e commit a70618c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react-instantsearch-core/src/components/Index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ class Index extends Component<Props, State> {

this.props.contextValue.onSearchParameters(
this.getSearchParameters.bind(this),
this.state.indexContext,
{
ais: this.props.contextValue,
multiIndexContext: this.state.indexContext,
},
this.props
);
}
Expand Down

0 comments on commit a70618c

Please sign in to comment.