Skip to content

Commit

Permalink
Proptype fix (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienben committed Mar 14, 2019
1 parent 550b22e commit 4c1b65b
Show file tree
Hide file tree
Showing 3 changed files with 267 additions and 323 deletions.
2 changes: 1 addition & 1 deletion app/components/List/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function List(props) {
}

List.propTypes = {
component: PropTypes.func.isRequired,
component: PropTypes.elementType.isRequired,
items: PropTypes.array,
};

Expand Down
Loading

0 comments on commit 4c1b65b

Please sign in to comment.