From 776e2f81fe93a8e1255b47518ffe9017fe6149d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chif=20Gerg=C5=91?= <chifgeri97@gmail.com> Date: Thu, 7 Feb 2019 19:03:00 +0100 Subject: [PATCH] Make the fixed menu visible --- src/components/menus/DesktopContainer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/menus/DesktopContainer.js b/src/components/menus/DesktopContainer.js index cc83035..214d60d 100644 --- a/src/components/menus/DesktopContainer.js +++ b/src/components/menus/DesktopContainer.js @@ -57,11 +57,11 @@ class DesktopContainer extends Component { } render() { - const { visible } = this.state.visible; + const { visible } = this.state; const { children, user, menuItems } = this.props; return ( <Responsive minWidth={768}> - {visible ? <FixedMenu user={this.props.user} /> : null} + {visible ? <FixedMenu user={this.props.user} menuItems={menuItems} /> : null} <Visibility onBottomPassed={() => this.showFixedMenu()} onBottomVisible={() => this.hideFixedMenu()} -- GitLab