mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix defaultProps declaration
Was done in multiple places.
This commit is contained in:
parent
6574ede348
commit
7721f38ee6
@ -130,11 +130,6 @@ TableRow.contextTypes = {
|
||||
router: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
TableRow.defaultProps = {
|
||||
enableBulkActions: true,
|
||||
value: false,
|
||||
};
|
||||
|
||||
TableRow.propTypes = {
|
||||
destination: PropTypes.string.isRequired,
|
||||
enableBulkActions: PropTypes.bool,
|
||||
@ -147,7 +142,9 @@ TableRow.propTypes = {
|
||||
};
|
||||
|
||||
TableRow.defaultProps = {
|
||||
enableBulkActions: true,
|
||||
onDelete: () => {},
|
||||
value: false,
|
||||
};
|
||||
|
||||
export default TableRow;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user