From ffa6a89c5a92a45e23b404ff0098e1b9ae771ff2 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Tue, 4 Oct 2016 12:44:10 -0700 Subject: [PATCH] lint --- lib/actions/index.js | 2 +- lib/actions/notifications.js | 3 +-- lib/components/notification.js | 2 +- lib/components/notifications.js | 8 ++++---- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/actions/index.js b/lib/actions/index.js index 432a4b01..dfc52ac0 100644 --- a/lib/actions/index.js +++ b/lib/actions/index.js @@ -5,5 +5,5 @@ export function init() { rpc.emit('init'); return { type: INIT - } + }; } diff --git a/lib/actions/notifications.js b/lib/actions/notifications.js index b33e1f8d..f0c0a6ef 100644 --- a/lib/actions/notifications.js +++ b/lib/actions/notifications.js @@ -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 diff --git a/lib/components/notification.js b/lib/components/notification.js index ada20b62..e5721961 100644 --- a/lib/components/notification.js +++ b/lib/components/notification.js @@ -83,7 +83,7 @@ export default class Notification extends Component { [x] : null } diff --git a/lib/components/notifications.js b/lib/components/notifications.js index c61697f5..1a227c66 100644 --- a/lib/components/notifications.js +++ b/lib/components/notifications.js @@ -73,9 +73,9 @@ export default class Notifications extends Component { onDismiss={this.props.onDismissUpdate} userDismissable > - Version { this.props.updateVersion} ready. - { this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}` } - { ' ' } + Version {this.props.updateVersion} ready. + {this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}`} + {' '} ( { @@ -84,7 +84,7 @@ export default class Notifications extends Component { }} href={`https://github.com/zeit/hyperterm/releases/tag/${this.props.updateVersion}`} >notes). - { ' ' } + {' '}