apparently we don't need a default onClick
This commit is contained in:
parent
725b9a6619
commit
aca4457a89
|
@ -27,12 +27,6 @@ module.exports = React.createClass({
|
|||
onClick: React.PropTypes.func,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
return {
|
||||
onClick: function() {},
|
||||
}
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var mxEvent = this.props.mxEvent;
|
||||
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
||||
|
|
Loading…
Reference in New Issue