mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -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');
|
||||
return {
|
||||
type: INIT
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import ms from 'ms';
|
||||
import {version} from '../../package';
|
||||
import {satisfies} from 'semver';
|
||||
import {remote} from 'electron';
|
||||
import {version} from '../../package';
|
||||
import {
|
||||
NOTIFICATION_MESSAGE,
|
||||
NOTIFICATION_DISMISS
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export default class Notification extends Component {
|
|||
<a
|
||||
className={css('dismissLink')}
|
||||
onClick={this.handleDismiss}
|
||||
style={{ color: this.props.userDismissColor }}
|
||||
style={{color: this.props.userDismissColor}}
|
||||
>[x]</a> :
|
||||
null
|
||||
}
|
||||
|
|
|
|||
|
|
@ -73,9 +73,9 @@ export default class Notifications extends Component {
|
|||
onDismiss={this.props.onDismissUpdate}
|
||||
userDismissable
|
||||
>
|
||||
Version <b>{ this.props.updateVersion}</b> ready.
|
||||
{ this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}` }
|
||||
{ ' ' }
|
||||
Version <b>{this.props.updateVersion}</b> ready.
|
||||
{this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}`}
|
||||
{' '}
|
||||
(<a
|
||||
style={{color: '#fff'}}
|
||||
onClick={ev => {
|
||||
|
|
@ -84,7 +84,7 @@ export default class Notifications extends Component {
|
|||
}}
|
||||
href={`https://github.com/zeit/hyperterm/releases/tag/${this.props.updateVersion}`}
|
||||
>notes</a>).
|
||||
{ ' ' }
|
||||
{' '}
|
||||
<a
|
||||
style={{
|
||||
cursor: 'pointer',
|
||||
|
|
|
|||
Loading…
Reference in a new issue