refactor(AppSidebar): update responsive behavior
This commit is contained in:
parent
dd9b9d5fbf
commit
3d8cb8126e
@ -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="/">
|
||||||
|
Loading…
Reference in New Issue
Block a user