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, account: Account,
feePerByte: number, feePerByte: number,
onChange: number => void, onChange: number => void,
t: T t: T,
} }
type FeeItem = { type FeeItem = {
@ -124,7 +124,11 @@ class FeesField extends Component<
value={feePerByte} value={feePerByte}
onChange={onChange} onChange={onChange}
onChangeFocus={this.onChangeFocus} 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> </GenericContainer>
) )

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

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

2
src/components/ThrowBlock.js

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

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

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

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

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

Loading…
Cancel
Save