diff --git a/ui/js/component/app/index.js b/ui/js/component/app/index.js index f4d8c451b..4b49f92cf 100644 --- a/ui/js/component/app/index.js +++ b/ui/js/component/app/index.js @@ -2,11 +2,7 @@ import React from "react"; import { connect } from "react-redux"; import { selectPageTitle } from "selectors/navigation"; import { selectUser } from "selectors/user"; -import { - doCheckUpgradeAvailable, - doStartUpgradeCheckTimer, - doAlertError, -} from "actions/app"; +import { doCheckUpgradeAvailable, doAlertError } from "actions/app"; import { doRecordScroll } from "actions/navigation"; import { doFetchRewardedContent } from "actions/content"; import App from "./view"; diff --git a/ui/js/component/app/view.jsx b/ui/js/component/app/view.jsx index c23e5d0c8..9ec001bd1 100644 --- a/ui/js/component/app/view.jsx +++ b/ui/js/component/app/view.jsx @@ -33,8 +33,6 @@ class App extends React.PureComponent { this.setTitleFromProps(this.props); } - componentDidMount() {} - componentWillUnmount() { window.removeEventListener("scroll", this.scrollListener); }