diff --git a/frontend/src/layout/index.js b/frontend/src/layout/index.js index e9e2b9e0..29e5e93e 100644 --- a/frontend/src/layout/index.js +++ b/frontend/src/layout/index.js @@ -120,7 +120,7 @@ const LoggedInLayout = ({ children }) => { const { user } = useContext(AuthContext); useEffect(() => { - if (document.body.offsetWidth > 600) { + if (document.body.offsetWidth < 100) { setDrawerOpen(true); } }, []);