Skip to content
Snippets Groups Projects
Commit 776e2f81 authored by Chif Gergő's avatar Chif Gergő
Browse files

Make the fixed menu visible

parent b5539498
No related branches found
No related tags found
No related merge requests found
...@@ -57,11 +57,11 @@ class DesktopContainer extends Component { ...@@ -57,11 +57,11 @@ class DesktopContainer extends Component {
} }
render() { render() {
const { visible } = this.state.visible; const { visible } = this.state;
const { children, user, menuItems } = this.props; const { children, user, menuItems } = this.props;
return ( return (
<Responsive minWidth={768}> <Responsive minWidth={768}>
{visible ? <FixedMenu user={this.props.user} /> : null} {visible ? <FixedMenu user={this.props.user} menuItems={menuItems} /> : null}
<Visibility <Visibility
onBottomPassed={() => this.showFixedMenu()} onBottomPassed={() => this.showFixedMenu()}
onBottomVisible={() => this.hideFixedMenu()} onBottomVisible={() => this.hideFixedMenu()}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment