aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2018-12-14 10:19:36 +0800
committerGitHub <noreply@github.com>2018-12-14 10:19:36 +0800
commit30a2be85eebe4f6b8cddb297f14faba392fe1133 (patch)
tree34cec0a1910e9e16bbed103d4b0f65f61724f8fb /ui/app/actions.js
parent435fdae84ac49b1366b8737215d97bd82002dccf (diff)
downloadtangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.gz
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.bz2
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.lz
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.xz
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.zst
tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.zip
Prevent users from changing the From field in the send screen (#5922)
* Prevent users from changing the From field in the send screen * Fix integration tests
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index e1bb6dc2d..5a4389d67 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -202,7 +202,6 @@ var actions = {
setGasTotal,
setSendTokenBalance,
updateSendTokenBalance,
- updateSendFrom,
updateSendHexData,
updateSendTo,
updateSendAmount,
@@ -1008,13 +1007,6 @@ function setSendTokenBalance (tokenBalance) {
}
}
-function updateSendFrom (from) {
- return {
- type: actions.UPDATE_SEND_FROM,
- value: from,
- }
-}
-
function updateSendHexData (value) {
return {
type: actions.UPDATE_SEND_HEX_DATA,