diff --git a/src/App.js b/src/App.js index c71878f..9946ee1 100644 --- a/src/App.js +++ b/src/App.js @@ -4,20 +4,11 @@ import Layout from './hoc/Layout/Layout'; import BurgerBuilder from './containers/BurgerBuilder/BurgerBuilder'; class App extends Component { - state = { - show: true - }; - - componentDidMount() { - setTimeout(() => { - this.setState({show: false}); - }, 3000); - } render() { return (
- {this.state.show ? : null } +
); diff --git a/src/hoc/withErrorHandler/withErrorHandler.js b/src/hoc/withErrorHandler/withErrorHandler.js index f36774d..6948748 100644 --- a/src/hoc/withErrorHandler/withErrorHandler.js +++ b/src/hoc/withErrorHandler/withErrorHandler.js @@ -21,7 +21,6 @@ const withErrorHandler = (WrappedComponent, axios) => { } componentWillUnmount() { - console.log('Will Unmount', this.reqInterceptor, this.resInterceptor); axios.interceptors.request.eject(this.reqInterceptor); axios.interceptors.response.eject(this.resInterceptor); }