0
0
Fork 0

Remove unnecessary constructors (#3280)

This commit is contained in:
Yamagishi Kazutoshi 2017-05-25 00:55:16 +09:00 committed by Eugen Rochko
parent 8e4d1cba00
commit 1ec7c87001
3 changed files with 15 additions and 37 deletions

View file

@ -27,12 +27,6 @@ class BoostModal extends ImmutablePureComponent {
intl: PropTypes.object.isRequired,
};
constructor (props, context) {
super(props, context);
this.handleReblog = this.handleReblog.bind(this);
this.handleAccountClick = this.handleAccountClick.bind(this);
}
handleReblog = () => {
this.props.onReblog(this.props.status);
this.props.onClose();