From 516c1869b0f366a42282a66e14185ce630f883dd Mon Sep 17 00:00:00 2001 From: Alexander Tseung Date: Mon, 2 Apr 2018 16:24:37 -0700 Subject: Fix lint errors --- mascara/src/app/first-time/notice-screen.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'mascara/src/app/first-time/notice-screen.js') diff --git a/mascara/src/app/first-time/notice-screen.js b/mascara/src/app/first-time/notice-screen.js index 6d45f4353..a449ccfa9 100644 --- a/mascara/src/app/first-time/notice-screen.js +++ b/mascara/src/app/first-time/notice-screen.js @@ -8,11 +8,7 @@ import debounce from 'lodash.debounce' import { markNoticeRead } from '../../../../ui/app/actions' import Identicon from '../../../../ui/app/components/identicon' import Breadcrumbs from './breadcrumbs' -import { - INITIALIZE_ROUTE, - DEFAULT_ROUTE, - INITIALIZE_BACKUP_PHRASE_ROUTE, -} from '../../../../ui/app/routes' +import { INITIALIZE_BACKUP_PHRASE_ROUTE } from '../../../../ui/app/routes' import LoadingScreen from './loading-screen' class NoticeScreen extends Component { @@ -42,9 +38,8 @@ class NoticeScreen extends Component { atBottom: false, } - componentWillMount () { + componentDidMount () { if (this.props.noActiveNotices) { - console.log('%c NOTICESCREEN NOACTIVENOTICES', 'background: #222; color: #bada55') this.props.history.push(INITIALIZE_BACKUP_PHRASE_ROUTE) } @@ -55,7 +50,6 @@ class NoticeScreen extends Component { const { markNoticeRead, lastUnreadNotice, history } = this.props markNoticeRead(lastUnreadNotice) .then(hasActiveNotices => { - console.log('ACCEPT TERMS, NO ACTIVE NOTICES', hasActiveNotices, 'background: #222; color: #bada55') if (!hasActiveNotices) { history.push(INITIALIZE_BACKUP_PHRASE_ROUTE) } else { -- cgit