aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-06-14 14:30:31 +0800
committerkumavis <aaron@kumavis.me>2018-06-14 14:30:31 +0800
commit44a8e48a04ea69e1f8e530ae1bacf55890f8df98 (patch)
tree5c344b5cb746b35504edb4b2903b2e533db527f6 /old-ui/app
parentac8b56a00defff4cb44a6a34251a19d8ab6159b6 (diff)
downloadtangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar.gz
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar.bz2
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar.lz
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar.xz
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.tar.zst
tangerine-wallet-browser-44a8e48a04ea69e1f8e530ae1bacf55890f8df98.zip
notices - replace getLatestNotice with getNextNotice
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', [