aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-11-07 12:56:15 +0800
committerGitHub <noreply@github.com>2018-11-07 12:56:15 +0800
commit0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef (patch)
tree46f0fbed9262695932acec0585d2a8694cad0371 /ui/app
parent7f944923d170d6e7e04f6e238d2fd5f80abe3161 (diff)
parentde297cd74db74cd52a3f2ed449cf65ac3112207d (diff)
downloadtangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar.gz
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar.bz2
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar.lz
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar.xz
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.tar.zst
tangerine-wallet-browser-0ab5c1c6e2ef5adb2f33d2e0e85e2f84b2edfeef.zip
Merge pull request #5481 from MetaMask/reducers
tests/Reducers
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/reducers/metamask.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 22fa53098..dfa2f3656 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -74,6 +74,7 @@ function reduceMetamask (state, action) {
case actions.CLEAR_NOTICES:
return extend(metamaskState, {
noActiveNotices: true,
+ nextUnreadNotice: undefined,
})
case actions.UPDATE_METAMASK_STATE:
@@ -294,8 +295,10 @@ function reduceMetamask (state, action) {
amount: '0x0',
memo: '',
errors: {},
+ maxModeOn: false,
editingTransactionId: null,
forceGasMin: null,
+ toNickname: '',
},
})
@@ -333,9 +336,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, {