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

Commit

Permalink
fix(RangeInput): remove canRefine check
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Apr 8, 2019
1 parent 4dfd098 commit 0663fa8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export class RawRangeInput extends Component {
componentDidUpdate(prevProps) {
if (
this.props.canRefine &&
(prevProps.canRefine !== this.props.canRefine ||
prevProps.currentRefinement.min !== this.props.currentRefinement.min ||
(prevProps.currentRefinement.min !== this.props.currentRefinement.min ||
prevProps.currentRefinement.max !== this.props.currentRefinement.max)
) {
this.setState(this.normalizeStateForRendering(this.props));
Expand Down

0 comments on commit 0663fa8

Please sign in to comment.