aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-06-15 00:49:38 +0800
committerGitHub <noreply@github.com>2018-06-15 00:49:38 +0800
commit3a5089da6faa35d6dc20dacbd87717e055a61a34 (patch)
tree3d55d150d69405b8c2d76ca9f3c4511626dbc5fb /ui/app/reducers/metamask.js
parent1f83a110b959fcf9d8fa7cedb852f6c665bd0fc5 (diff)
parentc2afb7903522d87345f4a39f7ca3df8fa8889d53 (diff)
downloadtangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.gz
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.zst
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.zip
Merge pull request #4566 from MetaMask/notice-phishing
Push new notice on recent phishing incidents
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index a4d1aece5..6c8ac9ed7 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -21,7 +21,7 @@ function reduceMetamask (state, action) {
identities: {},
unapprovedTxs: {},
noActiveNotices: true,
- lastUnreadNotice: undefined,
+ nextUnreadNotice: undefined,
frequentRpcList: [],
addressBook: [],
selectedTokenAddress: null,
@@ -65,7 +65,7 @@ function reduceMetamask (state, action) {
case actions.SHOW_NOTICE:
return extend(metamaskState, {
noActiveNotices: false,
- lastUnreadNotice: action.value,
+ nextUnreadNotice: action.value,
})
case actions.CLEAR_NOTICES: