aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send-v2-container.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-26 21:30:54 +0800
committerDan <danjm.com@gmail.com>2018-03-26 22:10:11 +0800
commita109a774a59be78b6de40492fbf4dbe1ff518d8f (patch)
tree32dd8952bbf371cc4dc0dfff7e4bcac62fa899e6 /ui/app/components/send/send-v2-container.js
parentdc78594c3aac80150dbe7eecd05e05eeffa6da02 (diff)
downloadtangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.gz
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.bz2
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.lz
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.xz
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.zst
tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.zip
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.js4
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)),