From cc901b4875775792927f64df9814e92966aec101 Mon Sep 17 00:00:00 2001 From: dharaneesh-r Date: Wed, 1 Jul 2026 17:48:37 +0530 Subject: [PATCH] updates on the css --- src/layout/MainLayout/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layout/MainLayout/index.js b/src/layout/MainLayout/index.js index 8363efa..0c6c9f6 100644 --- a/src/layout/MainLayout/index.js +++ b/src/layout/MainLayout/index.js @@ -31,10 +31,10 @@ const MainLayout = () => { const isHorizontal = menuOrientation === MenuOrientation.HORIZONTAL && !downLG; - // set media wise responsive drawer + // sidebar should default to closed regardless of screen size useEffect(() => { if (!miniDrawer) { - dispatch(openDrawer(!matchDownXL)); + dispatch(openDrawer(false)); } // eslint-disable-next-line react-hooks/exhaustive-deps }, [matchDownXL]);