1
0
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:
Brett Sun 2015-11-02 15:20:02 +01:00
parent 6c8016e094
commit fe06ea607f
2 changed files with 0 additions and 12 deletions

View File

@ -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) {

View File

@ -31,12 +31,6 @@ let AclFormFactory = React.createClass({
showNotification: React.PropTypes.bool
},
getDefaultProps() {
return {
showNotification: false
};
},
isPiece() {
return this.props.pieceOrEditions.constructor !== Array;
},