mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
fix/remove indented empty lines
This commit is contained in:
parent
af68171528
commit
88da6cd3d9
1 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ export default class Tab extends React.PureComponent {
|
|||
this.handleBlur = this.handleBlur.bind(this);
|
||||
this.handleClick = this.handleClick.bind(this);
|
||||
this.handleMouseUp = this.handleMouseUp.bind(this);
|
||||
|
||||
|
||||
this.state = {
|
||||
hovered: false
|
||||
};
|
||||
|
|
@ -33,10 +33,10 @@ export default class Tab extends React.PureComponent {
|
|||
this.props.onSelect();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
handleMouseUp(event) {
|
||||
const isMiddleClick = event.nativeEvent.which === 2;
|
||||
|
||||
|
||||
if (isMiddleClick) {
|
||||
this.props.onClose();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue