refactor(AppSidebar): update responsive behavior

This commit is contained in:
Łukasz Holeczek 2021-09-18 19:57:28 +02:00
parent dd9b9d5fbf
commit 3d8cb8126e

View File

@ -23,11 +23,10 @@ const AppSidebar = () => {
return ( return (
<CSidebar <CSidebar
position="fixed" position="fixed"
selfHiding="md"
unfoldable={unfoldable} unfoldable={unfoldable}
visible={sidebarShow} visible={sidebarShow}
onHide={() => { onVisibleChange={(visible) => {
dispatch({ type: 'set', sidebarShow: false }) dispatch({ type: 'set', sidebarShow: visible })
}} }}
> >
<CSidebarBrand className="d-none d-md-flex" to="/"> <CSidebarBrand className="d-none d-md-flex" to="/">