mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-15 13:18:40 -09:00
lint
This commit is contained in:
parent
d01d3868eb
commit
ffa6a89c5a
4 changed files with 7 additions and 8 deletions
|
|
@ -5,5 +5,5 @@ export function init() {
|
||||||
rpc.emit('init');
|
rpc.emit('init');
|
||||||
return {
|
return {
|
||||||
type: INIT
|
type: INIT
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
import ms from 'ms';
|
import ms from 'ms';
|
||||||
import {version} from '../../package';
|
|
||||||
import {satisfies} from 'semver';
|
import {satisfies} from 'semver';
|
||||||
import {remote} from 'electron';
|
import {version} from '../../package';
|
||||||
import {
|
import {
|
||||||
NOTIFICATION_MESSAGE,
|
NOTIFICATION_MESSAGE,
|
||||||
NOTIFICATION_DISMISS
|
NOTIFICATION_DISMISS
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ export default class Notification extends Component {
|
||||||
<a
|
<a
|
||||||
className={css('dismissLink')}
|
className={css('dismissLink')}
|
||||||
onClick={this.handleDismiss}
|
onClick={this.handleDismiss}
|
||||||
style={{ color: this.props.userDismissColor }}
|
style={{color: this.props.userDismissColor}}
|
||||||
>[x]</a> :
|
>[x]</a> :
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,9 +73,9 @@ export default class Notifications extends Component {
|
||||||
onDismiss={this.props.onDismissUpdate}
|
onDismiss={this.props.onDismissUpdate}
|
||||||
userDismissable
|
userDismissable
|
||||||
>
|
>
|
||||||
Version <b>{ this.props.updateVersion}</b> ready.
|
Version <b>{this.props.updateVersion}</b> ready.
|
||||||
{ this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}` }
|
{this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}`}
|
||||||
{ ' ' }
|
{' '}
|
||||||
(<a
|
(<a
|
||||||
style={{color: '#fff'}}
|
style={{color: '#fff'}}
|
||||||
onClick={ev => {
|
onClick={ev => {
|
||||||
|
|
@ -84,7 +84,7 @@ export default class Notifications extends Component {
|
||||||
}}
|
}}
|
||||||
href={`https://github.com/zeit/hyperterm/releases/tag/${this.props.updateVersion}`}
|
href={`https://github.com/zeit/hyperterm/releases/tag/${this.props.updateVersion}`}
|
||||||
>notes</a>).
|
>notes</a>).
|
||||||
{ ' ' }
|
{' '}
|
||||||
<a
|
<a
|
||||||
style={{
|
style={{
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue