Browse Source

fix(lint): fix linting errors

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
e005932d4f
  1. 12
      app/components/Onboarding/Onboarding.js
  2. 2
      app/main.dev.js

12
app/components/Onboarding/Onboarding.js

@ -35,11 +35,11 @@ const Onboarding = ({
case 2:
return (
<FormContainer
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.'}
back={() => 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)}
>
<Autopilot {...autopilotProps} />
</FormContainer>
)
@ -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
}

2
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}` : ''}`
]

Loading…
Cancel
Save