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: case 2:
return ( return (
<FormContainer <FormContainer
title={'2. 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.'} 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)} back={() => changeStep(1)}
next={() => submit(alias, autopilot)} next={() => submit(alias, autopilot)}
> >
<Autopilot {...autopilotProps} /> <Autopilot {...autopilotProps} />
</FormContainer> </FormContainer>
) )
@ -58,6 +58,8 @@ const Onboarding = ({
Onboarding.propTypes = { Onboarding.propTypes = {
onboarding: PropTypes.object.isRequired, onboarding: PropTypes.object.isRequired,
aliasProps: PropTypes.object.isRequired, aliasProps: PropTypes.object.isRequired,
autopilotProps: PropTypes.object.isRequired,
changeStep: PropTypes.func.isRequired,
submit: 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', '--neutrino.connect=127.0.0.1:18333',
'--debuglevel=debug', '--debuglevel=debug',
'--noencryptwallet', '--noencryptwallet',
`${ autopilot ? '--autopilot.active' : ''}`, `${autopilot ? '--autopilot.active' : ''}`,
`${alias ? `--alias=${alias}` : ''}` `${alias ? `--alias=${alias}` : ''}`
] ]

Loading…
Cancel
Save