From e005932d4fca860ca6cc9864202e37bf492de3e6 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Mon, 19 Feb 2018 21:04:52 -0600 Subject: [PATCH] fix(lint): fix linting errors --- app/components/Onboarding/Onboarding.js | 12 +++++++----- app/main.dev.js | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/components/Onboarding/Onboarding.js b/app/components/Onboarding/Onboarding.js index bf0d2e41..4c10d797 100644 --- a/app/components/Onboarding/Onboarding.js +++ b/app/components/Onboarding/Onboarding.js @@ -35,11 +35,11 @@ const Onboarding = ({ case 2: return ( changeStep(1)} - next={() => submit(alias, autopilot)} - > + title={'2. Autopilot'} + description={'Autopilot is an automatic network manager. Instead of manually adding people to build your network to make payments, enable autopilot to automatically connect you to the Lightning Network using 60% of your balance.'} // eslint-disable-line + back={() => changeStep(1)} + next={() => submit(alias, autopilot)} + > ) @@ -58,6 +58,8 @@ const Onboarding = ({ Onboarding.propTypes = { onboarding: PropTypes.object.isRequired, aliasProps: PropTypes.object.isRequired, + autopilotProps: PropTypes.object.isRequired, + changeStep: PropTypes.func.isRequired, submit: PropTypes.func.isRequired } diff --git a/app/main.dev.js b/app/main.dev.js index eb52df43..e16f893a 100644 --- a/app/main.dev.js +++ b/app/main.dev.js @@ -158,7 +158,7 @@ const startLnd = (alias, autopilot) => { '--neutrino.connect=127.0.0.1:18333', '--debuglevel=debug', '--noencryptwallet', - `${ autopilot ? '--autopilot.active' : ''}`, + `${autopilot ? '--autopilot.active' : ''}`, `${alias ? `--alias=${alias}` : ''}` ]