fix/remove indented empty lines

This commit is contained in:
Sam D 2018-12-21 18:00:30 -05:00 committed by Benjamin Staneck
parent af68171528
commit 88da6cd3d9

View file

@ -8,7 +8,7 @@ export default class Tab extends React.PureComponent {
this.handleBlur = this.handleBlur.bind(this); this.handleBlur = this.handleBlur.bind(this);
this.handleClick = this.handleClick.bind(this); this.handleClick = this.handleClick.bind(this);
this.handleMouseUp = this.handleMouseUp.bind(this); this.handleMouseUp = this.handleMouseUp.bind(this);
this.state = { this.state = {
hovered: false hovered: false
}; };
@ -33,10 +33,10 @@ export default class Tab extends React.PureComponent {
this.props.onSelect(); this.props.onSelect();
} }
} }
handleMouseUp(event) { handleMouseUp(event) {
const isMiddleClick = event.nativeEvent.which === 2; const isMiddleClick = event.nativeEvent.which === 2;
if (isMiddleClick) { if (isMiddleClick) {
this.props.onClose(); this.props.onClose();
} }