Remove unused code

This commit is contained in:
Igor Gassmann 2017-11-16 17:26:00 -03:00
parent 09be36e367
commit e0aa6e3646
2 changed files with 1 additions and 7 deletions

View file

@ -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";

View file

@ -33,8 +33,6 @@ class App extends React.PureComponent {
this.setTitleFromProps(this.props);
}
componentDidMount() {}
componentWillUnmount() {
window.removeEventListener("scroll", this.scrollListener);
}