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 (
<CSidebar
position="fixed"
selfHiding="md"
unfoldable={unfoldable}
visible={sidebarShow}
onHide={() => {
dispatch({ type: 'set', sidebarShow: false })
onVisibleChange={(visible) => {
dispatch({ type: 'set', sidebarShow: visible })
}}
>
<CSidebarBrand className="d-none d-md-flex" to="/">