mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
apparently we don't need a default onClick
This commit is contained in:
parent
725b9a6619
commit
aca4457a89
1 changed files with 0 additions and 6 deletions
|
@ -27,12 +27,6 @@ module.exports = React.createClass({
|
||||||
onClick: React.PropTypes.func,
|
onClick: React.PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
getDefaultProps: function() {
|
|
||||||
return {
|
|
||||||
onClick: function() {},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
var mxEvent = this.props.mxEvent;
|
var mxEvent = this.props.mxEvent;
|
||||||
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();
|
||||||
|
|
Loading…
Reference in a new issue