aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app
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 /old-ui/app
parent1f83a110b959fcf9d8fa7cedb852f6c665bd0fc5 (diff)
parentc2afb7903522d87345f4a39f7ca3df8fa8889d53 (diff)
downloadtangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.gz
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.bz2
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.lz
tangerine-wallet-browser-3a5089da6faa35d6dc20dacbd87717e055a61a34.tar.xz
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 'old-ui/app')
-rw-r--r--old-ui/app/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/old-ui/app/app.js b/old-ui/app/app.js
index abeb4f3f9..5c2dccc03 100644
--- a/old-ui/app/app.js
+++ b/old-ui/app/app.js
@@ -73,7 +73,7 @@ function mapStateToProps (state) {
network: state.metamask.network,
provider: state.metamask.provider,
forgottenPassword: state.appState.forgottenPassword,
- lastUnreadNotice: state.metamask.lastUnreadNotice,
+ nextUnreadNotice: state.metamask.nextUnreadNotice,
lostAccounts: state.metamask.lostAccounts,
frequentRpcList: state.metamask.frequentRpcList || [],
featureFlags,
@@ -460,9 +460,9 @@ App.prototype.renderPrimary = function () {
}, [
h(NoticeScreen, {
- notice: props.lastUnreadNotice,
+ notice: props.nextUnreadNotice,
key: 'NoticeScreen',
- onConfirm: () => props.dispatch(actions.markNoticeRead(props.lastUnreadNotice)),
+ onConfirm: () => props.dispatch(actions.markNoticeRead(props.nextUnreadNotice)),
}),
!props.isInitialized && h('.flex-row.flex-center.flex-grow', [