Meriadec Pillet
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
29 additions and
38 deletions
-
src/components/modals/Send/steps/01-step-amount.js
|
|
@ -45,45 +45,36 @@ export default ({ |
|
|
|
{account && |
|
|
|
bridge && |
|
|
|
transaction && ( |
|
|
|
<RecipientField |
|
|
|
autoFocus={openedFromAccount} |
|
|
|
account={account} |
|
|
|
bridge={bridge} |
|
|
|
transaction={transaction} |
|
|
|
onChangeTransaction={onChangeTransaction} |
|
|
|
t={t} |
|
|
|
/> |
|
|
|
)} |
|
|
|
|
|
|
|
{account && |
|
|
|
bridge && |
|
|
|
transaction && ( |
|
|
|
<AmountField |
|
|
|
key={account.id} |
|
|
|
account={account} |
|
|
|
bridge={bridge} |
|
|
|
transaction={transaction} |
|
|
|
onChangeTransaction={onChangeTransaction} |
|
|
|
t={t} |
|
|
|
/> |
|
|
|
)} |
|
|
|
|
|
|
|
{account && |
|
|
|
bridge && |
|
|
|
transaction && |
|
|
|
FeesField && ( |
|
|
|
<FeesField account={account} value={transaction} onChange={onChangeTransaction} /> |
|
|
|
)} |
|
|
|
<Fragment key={account.id}> |
|
|
|
<RecipientField |
|
|
|
autoFocus={openedFromAccount} |
|
|
|
account={account} |
|
|
|
bridge={bridge} |
|
|
|
transaction={transaction} |
|
|
|
onChangeTransaction={onChangeTransaction} |
|
|
|
t={t} |
|
|
|
/> |
|
|
|
|
|
|
|
<AmountField |
|
|
|
account={account} |
|
|
|
bridge={bridge} |
|
|
|
transaction={transaction} |
|
|
|
onChangeTransaction={onChangeTransaction} |
|
|
|
t={t} |
|
|
|
/> |
|
|
|
|
|
|
|
{FeesField && ( |
|
|
|
<FeesField account={account} value={transaction} onChange={onChangeTransaction} /> |
|
|
|
)} |
|
|
|
|
|
|
|
{account && |
|
|
|
bridge && |
|
|
|
transaction && |
|
|
|
AdvancedOptionsField && ( |
|
|
|
<AdvancedOptionsField |
|
|
|
account={account} |
|
|
|
value={transaction} |
|
|
|
onChange={onChangeTransaction} |
|
|
|
/> |
|
|
|
{AdvancedOptionsField && ( |
|
|
|
<AdvancedOptionsField |
|
|
|
account={account} |
|
|
|
value={transaction} |
|
|
|
onChange={onChangeTransaction} |
|
|
|
/> |
|
|
|
)} |
|
|
|
</Fragment> |
|
|
|
)} |
|
|
|
</Box> |
|
|
|
) |
|
|
|