Remove unnecessary constructors (#3280)
This commit is contained in:
parent
8e4d1cba00
commit
1ec7c87001
3 changed files with 15 additions and 37 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue