aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.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/actions.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/actions.js')
-rw-r--r--ui/app/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index bc7ee3d07..4a5962610 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -694,10 +694,10 @@ function updateSendFrom (from) {
}
}
-function updateSendTo (to) {
+function updateSendTo (to, nickname = '') {
return {
type: actions.UPDATE_SEND_TO,
- value: to,
+ value: { to, nickname },
}
}