diff options
author | Alexander Tseung <alextsg@gmail.com> | 2017-12-04 14:24:30 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2017-12-15 06:11:23 +0800 |
commit | dde39e82b5723ba8056b73f0f823d40c3e702a99 (patch) | |
tree | 4143756e6660ac16b896a58dffef612f99770fd5 /ui/app/components/pages/notice.js | |
parent | e226b10a89d87af07c7c35ff1251a8264f3bb1b8 (diff) | |
download | tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.gz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.bz2 tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.lz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.xz tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.tar.zst tangerine-wallet-browser-dde39e82b5723ba8056b73f0f823d40c3e702a99.zip |
Add routes for mascara
Diffstat (limited to 'ui/app/components/pages/notice.js')
-rw-r--r-- | ui/app/components/pages/notice.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ui/app/components/pages/notice.js b/ui/app/components/pages/notice.js index 8e68cd52b..2329a9147 100644 --- a/ui/app/components/pages/notice.js +++ b/ui/app/components/pages/notice.js @@ -53,7 +53,6 @@ class Notice extends Component { render () { const { notice = {} } = this.props const { title, date, body } = notice - // const state = this.state || { disclaimerDisabled: true } const { disclaimerDisabled } = this.state return ( @@ -156,21 +155,6 @@ class Notice extends Component { const mapStateToProps = state => { const { metamask } = state const { noActiveNotices, lastUnreadNotice, lostAccounts } = metamask - // if (!props.noActiveNotices) { - // log.debug('rendering notice screen for unread notices.') - // return h(NoticeScreen, { - // notice: props.lastUnreadNotice, - // key: 'NoticeScreen', - // onConfirm: () => props.dispatch(actions.markNoticeRead(props.lastUnreadNotice)), - // }) - // } else if (props.lostAccounts && props.lostAccounts.length > 0) { - // log.debug('rendering notice screen for lost accounts view.') - // return h(NoticeScreen, { - // notice: generateLostAccountsNotice(props.lostAccounts), - // key: 'LostAccountsNotice', - // onConfirm: () => props.dispatch(actions.markAccountsFound()), - // }) - // } return { noActiveNotices, |