diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-03-27 02:28:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 02:28:51 +0800 |
commit | a94fbfdfab678afc0e02baec281038e463567ac1 (patch) | |
tree | 32dd8952bbf371cc4dc0dfff7e4bcac62fa899e6 /ui/app/components/send/send-v2-container.js | |
parent | dc78594c3aac80150dbe7eecd05e05eeffa6da02 (diff) | |
parent | a109a774a59be78b6de40492fbf4dbe1ff518d8f (diff) | |
download | tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar.gz tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar.bz2 tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar.lz tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar.xz tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.tar.zst tangerine-wallet-browser-a94fbfdfab678afc0e02baec281038e463567ac1.zip |
Merge pull request #3722 from danjm/i2582-sendtoensname
Use ens-input component in send-v2 to allow sending to ens names.
Diffstat (limited to 'ui/app/components/send/send-v2-container.js')
-rw-r--r-- | ui/app/components/send/send-v2-container.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send/send-v2-container.js b/ui/app/components/send/send-v2-container.js index d1319b6dc..08c26a91f 100644 --- a/ui/app/components/send/send-v2-container.js +++ b/ui/app/components/send/send-v2-container.js @@ -69,13 +69,13 @@ function mapDispatchToProps (dispatch) { updateAndApproveTx: txParams => dispatch(actions.updateAndApproveTx(txParams)), updateTx: txData => dispatch(actions.updateTransaction(txData)), setSelectedAddress: address => dispatch(actions.setSelectedAddress(address)), - addToAddressBook: address => dispatch(actions.addToAddressBook(address)), + addToAddressBook: (address, nickname) => dispatch(actions.addToAddressBook(address, nickname)), updateGasTotal: newTotal => dispatch(actions.updateGasTotal(newTotal)), updateGasPrice: newGasPrice => dispatch(actions.updateGasPrice(newGasPrice)), updateGasLimit: newGasLimit => dispatch(actions.updateGasLimit(newGasLimit)), updateSendTokenBalance: tokenBalance => dispatch(actions.updateSendTokenBalance(tokenBalance)), updateSendFrom: newFrom => dispatch(actions.updateSendFrom(newFrom)), - updateSendTo: newTo => dispatch(actions.updateSendTo(newTo)), + updateSendTo: (newTo, nickname) => dispatch(actions.updateSendTo(newTo, nickname)), updateSendAmount: newAmount => dispatch(actions.updateSendAmount(newAmount)), updateSendMemo: newMemo => dispatch(actions.updateSendMemo(newMemo)), updateSendErrors: newError => dispatch(actions.updateSendErrors(newError)), |