aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorThomas <thomas.b.huang@gmail.com>2018-10-10 16:12:25 +0800
committerThomas <thomas.b.huang@gmail.com>2018-10-10 16:12:25 +0800
commit093ca07201393930f3efce88ef2283a69177e1d2 (patch)
tree4f3bf151c172597f4f95bd270698e2892d787190 /ui
parentccab4ee1a408d93f38765e9b6ef3dc33a18befa9 (diff)
downloadtangerine-wallet-browser-093ca07201393930f3efce88ef2283a69177e1d2.tar.gz
tangerine-wallet-browser-093ca07201393930f3efce88ef2283a69177e1d2.tar.zst
tangerine-wallet-browser-093ca07201393930f3efce88ef2283a69177e1d2.zip
Set maxMode and toNickname defaults for clear_send
Diffstat (limited to 'ui')
-rw-r--r--ui/app/reducers/metamask.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 3f1d3394f..de19def6d 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -291,8 +291,10 @@ function reduceMetamask (state, action) {
amount: '0x0',
memo: '',
errors: {},
+ maxModeOn: false,
editingTransactionId: null,
forceGasMin: null,
+ toNickname: '',
},
})
@@ -330,9 +332,9 @@ function reduceMetamask (state, action) {
})
case actions.SET_USE_BLOCKIE:
- return extend(metamaskState, {
- useBlockie: action.value,
- })
+ return extend(metamaskState, {
+ useBlockie: action.value,
+ })
case actions.UPDATE_FEATURE_FLAGS:
return extend(metamaskState, {