From b90439b273da15e12479da0b4a9fc9c72a0a7052 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Thu, 27 Jul 2023 14:44:33 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A2=E3=83=90=E3=82=A4=E3=83=AB=E3=82=B5?= =?UTF-8?q?=E3=82=A4=E3=82=BA=E3=81=AE=E3=81=A8=E3=81=8D=E3=81=AB=E3=83=89?= =?UTF-8?q?=E3=83=AD=E3=82=A2=E3=83=BC=E3=81=8C=E5=87=BA=E7=8F=BE=E3=81=97?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/dashbord/index.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 && ( - - )} +