From bb492bbc46eae7deda920aa216295294bc73a31c Mon Sep 17 00:00:00 2001 From: Thibaut Boustany Date: Thu, 14 Jun 2018 18:23:10 +0200 Subject: [PATCH] Prettier --- src/components/FeesField/BitcoinKind.js | 8 ++++++-- src/components/Onboarding/steps/GenuineCheck.js | 4 +++- src/components/ThrowBlock.js | 2 +- src/components/base/AccountsList/AccountRow.js | 2 +- src/components/modals/AddAccounts/index.js | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/FeesField/BitcoinKind.js b/src/components/FeesField/BitcoinKind.js index 0af0dfbe..e9458045 100644 --- a/src/components/FeesField/BitcoinKind.js +++ b/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={{t('app:send.steps.amount.unitPerByte', { unit: satoshi.code })}} + renderRight={ + + {t('app:send.steps.amount.unitPerByte', { unit: satoshi.code })} + + } /> ) diff --git a/src/components/Onboarding/steps/GenuineCheck.js b/src/components/Onboarding/steps/GenuineCheck.js index 2b00bf4e..bff77501 100644 --- a/src/components/Onboarding/steps/GenuineCheck.js +++ b/src/components/Onboarding/steps/GenuineCheck.js @@ -151,7 +151,9 @@ class GenuineCheck extends PureComponent { - {'2.'} + + {'2.'} + {t('onboarding:genuineCheck.steps.step2.title')} diff --git a/src/components/ThrowBlock.js b/src/components/ThrowBlock.js index 56ddcd49..4ca6a52e 100644 --- a/src/components/ThrowBlock.js +++ b/src/components/ThrowBlock.js @@ -19,7 +19,7 @@ import TranslatedError from './TranslatedError' type Props = { children: any, - t: T + t: T, } type State = { diff --git a/src/components/base/AccountsList/AccountRow.js b/src/components/base/AccountsList/AccountRow.js index 23f8c69d..580c8355 100644 --- a/src/components/base/AccountsList/AccountRow.js +++ b/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 = { diff --git a/src/components/modals/AddAccounts/index.js b/src/components/modals/AddAccounts/index.js index b3540813..239b0d13 100644 --- a/src/components/modals/AddAccounts/index.js +++ b/src/components/modals/AddAccounts/index.js @@ -211,7 +211,7 @@ class AddAccounts extends PureComponent { {!hideFooter && ( - {StepFooter ? : } + {StepFooter ? : } )}