From a08c3bc01b11fbd0e3a243359befbe9fc909edf4 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 21 Jun 2016 13:18:32 -0700 Subject: Auto linted --- ui/app/first-time/disclaimer.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'ui/app/first-time/disclaimer.js') diff --git a/ui/app/first-time/disclaimer.js b/ui/app/first-time/disclaimer.js index fe138c93b..bfd6c490d 100644 --- a/ui/app/first-time/disclaimer.js +++ b/ui/app/first-time/disclaimer.js @@ -8,17 +8,16 @@ const path = require('path') const disclaimer = fs.readFileSync(path.join(__dirname, 'disclaimer.txt')).toString() module.exports = connect(mapStateToProps)(DisclaimerScreen) -function mapStateToProps(state) { +function mapStateToProps (state) { return {} } inherits(DisclaimerScreen, Component) -function DisclaimerScreen() { +function DisclaimerScreen () { Component.call(this) } -DisclaimerScreen.prototype.render = function() { - +DisclaimerScreen.prototype.render = function () { return ( h('.flex-column.flex-center.flex-grow', [ @@ -43,13 +42,13 @@ DisclaimerScreen.prototype.render = function() { padding: '6px', width: '80%', overflowY: 'scroll', - } + }, }, disclaimer), h('button', { style: { marginTop: '18px' }, - onClick: () => this.props.dispatch(actions.agreeToDisclaimer()) - }, 'I Agree') + onClick: () => this.props.dispatch(actions.agreeToDisclaimer()), + }, 'I Agree'), ]) ) } -- cgit