Commit 7e000621 authored by Nicolas Frandeboeuf's avatar Nicolas Frandeboeuf
Browse files

Fix menu not closing when clicking on content

parent 5e247612
Pipeline #16466 passed with stage
in 2 minutes and 48 seconds
......@@ -76,7 +76,7 @@ class BaseApp extends React.Component {
let { currentAccountId, initialAccountId, location, maybeCurrentAccount } = this.props;
let handleContentClick = null;
if (this.props.isSmallScreen) {
if (this.state.isSmallScreen) {
handleContentClick = () => {
this.setState({ isMenuHidden: true });
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment