aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-12-21 07:54:59 +0800
committerDan Finlay <dan@danfinlay.com>2016-12-21 08:07:24 +0800
commit11c1004a41a9287c13ef15f28805863aab9fdea9 (patch)
treecfb61bd5e041eec0dfaf19f8f5e85ecc16476299 /ui/app/app.js
parent553f1769a099ac037cdda489295a96f7dd2c100f (diff)
downloadtangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar.gz
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar.bz2
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar.lz
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar.xz
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.tar.zst
tangerine-wallet-browser-11c1004a41a9287c13ef15f28805863aab9fdea9.zip
Linted
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 886bc987a..e98e635a2 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -16,7 +16,7 @@ const AccountDetailScreen = require('./account-detail')
const SendTransactionScreen = require('./send')
const ConfirmTxScreen = require('./conf-tx')
// notice
-const NoticeScreen = require('./notice')
+const NoticeScreen = require('./components/notice')
const lostAccountsNotice = require('../lib/lost-accounts-notice')
// other views
const ConfigScreen = require('./config')
@@ -374,7 +374,7 @@ App.prototype.renderPrimary = function () {
return h(NoticeScreen, {
notice: props.lastUnreadNotice,
key: 'NoticeScreen',
- onConfirm: () => props.dispatch(actions.markNoticeRead(notice)),
+ onConfirm: () => props.dispatch(actions.markNoticeRead(props.lastUnreadNotice)),
})
} else if (props.lostAccounts && props.lostAccounts.length > 0) {
return h(NoticeScreen, {