Skip to content

Commit

Permalink
Fix propTypes warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Jun 7, 2019
1 parent 23b8068 commit f672d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/list/DatagridBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ DatagridBody.propTypes = {
row: PropTypes.element,
rowClick: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
rowStyle: PropTypes.func,
selectedIds: PropTypes.arrayOf(PropTypes.any).isRequired,
selectedIds: PropTypes.arrayOf(PropTypes.any),
styles: PropTypes.object,
version: PropTypes.number,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/ra-ui-materialui/src/list/ListActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ListActions.propTypes = {
onUnselectItems: PropTypes.func.isRequired,
selectedIds: PropTypes.arrayOf(PropTypes.any),
showFilter: PropTypes.func,
total: PropTypes.number.isRequired,
total: PropTypes.number,
};

ListActions.defaultProps = {
Expand Down

0 comments on commit f672d37

Please sign in to comment.