Browse Source

Prettier

master
Thibaut Boustany 7 years ago
parent
commit
bb492bbc46
No known key found for this signature in database GPG Key ID: 32475B11A2B13EEC
  1. 8
      src/components/FeesField/BitcoinKind.js
  2. 4
      src/components/Onboarding/steps/GenuineCheck.js
  3. 2
      src/components/ThrowBlock.js
  4. 2
      src/components/base/AccountsList/AccountRow.js
  5. 2
      src/components/modals/AddAccounts/index.js

8
src/components/FeesField/BitcoinKind.js

@ -18,7 +18,7 @@ type Props = {
account: Account,
feePerByte: number,
onChange: number => void,
t: T
t: T,
}
type FeeItem = {
@ -124,7 +124,11 @@ class FeesField extends Component<
value={feePerByte}
onChange={onChange}
onChangeFocus={this.onChangeFocus}
renderRight={<InputRight>{t('app:send.steps.amount.unitPerByte', { unit: satoshi.code })}</InputRight>}
renderRight={
<InputRight>
{t('app:send.steps.amount.unitPerByte', { unit: satoshi.code })}
</InputRight>
}
/>
</GenericContainer>
)

4
src/components/Onboarding/steps/GenuineCheck.js

@ -151,7 +151,9 @@ class GenuineCheck extends PureComponent<StepProps, State> {
<CardWrapper isDisabled={!genuine.pinStepPass}>
<Box justify="center">
<Box horizontal>
<IconOptionRow color={!genuine.pinStepPass ? 'grey' : 'wallet'}>{'2.'}</IconOptionRow>
<IconOptionRow color={!genuine.pinStepPass ? 'grey' : 'wallet'}>
{'2.'}
</IconOptionRow>
<CardTitle>{t('onboarding:genuineCheck.steps.step2.title')}</CardTitle>
</Box>
</Box>

2
src/components/ThrowBlock.js

@ -19,7 +19,7 @@ import TranslatedError from './TranslatedError'
type Props = {
children: any,
t: T
t: T,
}
type State = {

2
src/components/base/AccountsList/AccountRow.js

@ -21,7 +21,7 @@ type Props = {
isDisabled?: boolean,
onClick: Account => void,
onAccountUpdate: Account => void,
t: T
t: T,
}
type State = {

2
src/components/modals/AddAccounts/index.js

@ -211,7 +211,7 @@ class AddAccounts extends PureComponent<Props, State> {
</ModalContent>
{!hideFooter && (
<ModalFooter horizontal align="center" justify="flex-end" style={{ height: 80 }}>
{StepFooter ? <StepFooter {...stepProps} /> : <Box/>}
{StepFooter ? <StepFooter {...stepProps} /> : <Box />}
</ModalFooter>
)}
</ModalBody>

Loading…
Cancel
Save