Skip to content

Commit aca4457

Browse files
committed
apparently we don't need a default onClick
1 parent 725b9a6 commit aca4457

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎src/components/views/messages/SenderProfile.js‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ module.exports = React.createClass({
2727
onClick: React.PropTypes.func,
2828
},
2929

30-
getDefaultProps: function() {
31-
return {
32-
onClick: function() {},
33-
}
34-
},
35-
3630
render: function() {
3731
var mxEvent = this.props.mxEvent;
3832
var name = mxEvent.sender ? mxEvent.sender.name : mxEvent.getSender();

0 commit comments

Comments
 (0)