diff --git a/src/containers/App.js b/src/containers/App.js index 3a3aadf6..377230f6 100644 --- a/src/containers/App.js +++ b/src/containers/App.js @@ -25,15 +25,6 @@ class App extends React.Component { componentDidMount() { this.props.dispatch(loadConfig()); - window.addEventListener('resize', this.closeDrawer); - } - - componentWillUnmount() { - window.removeEventListener('resize', this.closeDrawer); - } - - closeDrawer = () => { - this.setState({ navDrawerIsVisible: false }); } configError(config) { @@ -146,7 +137,7 @@ class App extends React.Component {