mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Remove unnecessary default props
This commit is contained in:
parent
6c8016e094
commit
fe06ea607f
@ -36,12 +36,6 @@ let AclButton = React.createClass({
|
||||
className: React.PropTypes.string
|
||||
},
|
||||
|
||||
getDefaultProps() {
|
||||
return {
|
||||
buttonAcceptClassName: ''
|
||||
};
|
||||
},
|
||||
|
||||
// Removes the acl_ prefix and converts to upper case
|
||||
sanitizeAction() {
|
||||
if (this.props.buttonAcceptName) {
|
||||
|
@ -31,12 +31,6 @@ let AclFormFactory = React.createClass({
|
||||
showNotification: React.PropTypes.bool
|
||||
},
|
||||
|
||||
getDefaultProps() {
|
||||
return {
|
||||
showNotification: false
|
||||
};
|
||||
},
|
||||
|
||||
isPiece() {
|
||||
return this.props.pieceOrEditions.constructor !== Array;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user