Skip to content

Commit

Permalink
fix(SFFV): correct propTypes and add missing default values (#1845)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthuret authored and vvo committed Jan 17, 2017
1 parent 65b98fd commit a4c1b31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react-instantsearch/src/components/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ class List extends Component {
limit: PropTypes.number,
show: PropTypes.func,
searchForFacetValues: PropTypes.func,
isFromSearch: PropTypes.bool.isRequired,
isFromSearch: PropTypes.bool,
};

defaultProps= {
isFromSearch: false,
};

constructor() {
Expand Down

0 comments on commit a4c1b31

Please sign in to comment.