diff --git a/src/layouts/dashbord/index.tsx b/src/layouts/dashbord/index.tsx index f838b63..8496186 100644 --- a/src/layouts/dashbord/index.tsx +++ b/src/layouts/dashbord/index.tsx @@ -23,7 +23,7 @@ function Copyright() { function App() { const [mobileOpen, setMobileOpen] = useState(false); - const { drawerWidth, innerWidth, contentsWidth, showDrawer } = useDashboard(); + const { drawerWidth, innerWidth, contentsWidth } = useDashboard(); const handleDrawerToggle = () => { setMobileOpen(!mobileOpen); @@ -35,14 +35,12 @@ function App() { component="nav" sx={{ width: { sm: drawerWidth }, flexShrink: { md: 0 } }} > - {showDrawer && ( - - )} +