apparently we don't need a default onClick

This commit is contained in:
Matthew Hodgson 2016-03-17 17:00:58 +00:00
parent 725b9a6619
commit aca4457a89

View file

@ -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();