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

Commit

Permalink
fix(SearchBox): use newer props for searchAsYouType
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Apr 23, 2019
1 parent 2b340d3 commit 8f9880a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class SearchBox extends Component {

componentDidUpdate(prevProps) {
if (
!prevProps.searchAsYouType &&
!this.props.searchAsYouType &&
prevProps.currentRefinement !== this.props.currentRefinement
) {
this.setState({
Expand Down

0 comments on commit 8f9880a

Please sign in to comment.