Browse Source

Merge pull request #1102 from gre/fix/1099

Fixes #1099
master
Meriadec Pillet 7 years ago
committed by GitHub
parent
commit
5196e32d78
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 67
      src/components/modals/Send/steps/01-step-amount.js

67
src/components/modals/Send/steps/01-step-amount.js

@ -45,45 +45,36 @@ export default ({
{account && {account &&
bridge && bridge &&
transaction && ( transaction && (
<RecipientField <Fragment key={account.id}>
autoFocus={openedFromAccount} <RecipientField
account={account} autoFocus={openedFromAccount}
bridge={bridge} account={account}
transaction={transaction} bridge={bridge}
onChangeTransaction={onChangeTransaction} transaction={transaction}
t={t} onChangeTransaction={onChangeTransaction}
/> t={t}
)} />
{account && <AmountField
bridge && account={account}
transaction && ( bridge={bridge}
<AmountField transaction={transaction}
key={account.id} onChangeTransaction={onChangeTransaction}
account={account} t={t}
bridge={bridge} />
transaction={transaction}
onChangeTransaction={onChangeTransaction} {FeesField && (
t={t} <FeesField account={account} value={transaction} onChange={onChangeTransaction} />
/> )}
)}
{account &&
bridge &&
transaction &&
FeesField && (
<FeesField account={account} value={transaction} onChange={onChangeTransaction} />
)}
{account && {AdvancedOptionsField && (
bridge && <AdvancedOptionsField
transaction && account={account}
AdvancedOptionsField && ( value={transaction}
<AdvancedOptionsField onChange={onChangeTransaction}
account={account} />
value={transaction} )}
onChange={onChangeTransaction} </Fragment>
/>
)} )}
</Box> </Box>
) )

Loading…
Cancel
Save