diff options
author | Dan <danjm.com@gmail.com> | 2018-03-26 21:30:54 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-26 22:10:11 +0800 |
commit | a109a774a59be78b6de40492fbf4dbe1ff518d8f (patch) | |
tree | 32dd8952bbf371cc4dc0dfff7e4bcac62fa899e6 /ui/app/reducers/metamask.js | |
parent | dc78594c3aac80150dbe7eecd05e05eeffa6da02 (diff) | |
download | tangerine-wallet-browser-a109a774a59be78b6de40492fbf4dbe1ff518d8f.tar.gz 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/reducers/metamask.js')
-rw-r--r-- | ui/app/reducers/metamask.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index e6e02d057..9cba5e83b 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -39,6 +39,7 @@ function reduceMetamask (state, action) { maxModeOn: false, editingTransactionId: null, forceGasMin: null, + toNickname: '', }, coinOptions: {}, useBlockie: false, @@ -238,7 +239,8 @@ function reduceMetamask (state, action) { return extend(metamaskState, { send: { ...metamaskState.send, - to: action.value, + to: action.value.to, + toNickname: action.value.nickname, }, }) |