Browse Source

fix lint issues

master
Anastasia Poupeney 7 years ago
parent
commit
01e38d1087
  1. 7
      src/components/Onboarding/steps/Init.js
  2. 2
      src/components/Onboarding/steps/SelectDevice.js

7
src/components/Onboarding/steps/Init.js

@ -6,6 +6,7 @@ import { connect } from 'react-redux'
import { colors } from 'styles/theme'
import styled from 'styled-components'
import { flowType } from 'reducers/onboarding'
import Box, { Card } from 'components/base/Box'
import IconUser from 'icons/User'
import IconPlus from 'icons/Plus'
@ -15,15 +16,13 @@ import IconExternalLink from 'icons/ExternalLink'
import IconChevronRight from 'icons/ChevronRight'
import { Title } from '../helperComponents'
import { flowType } from 'reducers/onboarding'
import type { StepProps } from '..'
const mapDispatchToProps = { flowType }
class Init extends PureComponent<StepProps, *> {
render() {
const { nextStep, jumpStep, t } = this.props
const { nextStep, t } = this.props
const optionCards = [
{
@ -107,7 +106,7 @@ export function OptionFlowCard({ card }: { card: CardType }) {
)
}
const InitCardContainer = styled(Box).attrs({
const InitCardContainer = styled(Card).attrs({
p: 3,
horizontal: true,
borderRadius: '4px',

2
src/components/Onboarding/steps/SelectDevice.js

@ -3,6 +3,7 @@
import React, { PureComponent } from 'react'
import styled from 'styled-components'
import { connect } from 'react-redux'
import { rgba } from 'styles/helpers'
import { isLedgerNano } from 'reducers/onboarding'
@ -11,7 +12,6 @@ import IconCheckCirle from 'icons/Check'
import IconLedgerNano from 'icons/illustrations/LedgerNano'
import IconLedgerBlue from 'icons/illustrations/LedgerBlue'
import { Title, Inner } from '../helperComponents'
import { rgba } from 'styles/helpers'
import type { StepProps } from '..'

Loading…
Cancel
Save