Skip to content

Commit

Permalink
Run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cnguyen812 committed Jun 21, 2022
1 parent 8a97332 commit 2568f51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/navigation/services/swap-crypto/screens/SwapCryptoRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@ const SwapCryptoRoot: React.FC = () => {
return;
} else {
const msg =
t('The amount entered is lower than the minimum allowed: ') +
minAmount +
' ' +
fromWalletData?.currencyAbbreviation;
t('The amount entered is lower than the minimum allowed: ') +
minAmount +
' ' +
fromWalletData?.currencyAbbreviation;
const actions = [
{
text: t('OK'),
Expand Down Expand Up @@ -769,7 +769,8 @@ const SwapCryptoRoot: React.FC = () => {
<ActionsContainer>
<BottomDataText>
{fromWalletSelected.balance.cryptoSpendable}{' '}
{fromWalletData?.currencyAbbreviation} {t('available to swap')}
{fromWalletData?.currencyAbbreviation}{' '}
{t('available to swap')}
</BottomDataText>
</ActionsContainer>
) : null}
Expand Down
4 changes: 3 additions & 1 deletion src/navigation/tabs/contacts/screens/ContactsAdd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ const ContactsAdd: React.FC = () => {
justifyContent: 'space-between',
}}>
<Row style={{alignItems: 'center'}}>
{selectedCurrency?.img ? <CurrencyImage img={selectedCurrency.img} size={30} /> : null }
{selectedCurrency?.img ? (
<CurrencyImage img={selectedCurrency.img} size={30} />
) : null}
<CurrencyName>
{selectedCurrency?.currencyAbbreviation}
</CurrencyName>
Expand Down

0 comments on commit 2568f51

Please sign in to comment.