Skip to content

Commit

Permalink
Iniciar com o menu lateral fechado
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh authored Mar 23, 2022
1 parent f785911 commit e61c44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const LoggedInLayout = ({ children }) => {
const { user } = useContext(AuthContext);

useEffect(() => {
if (document.body.offsetWidth > 600) {
if (document.body.offsetWidth < 100) {
setDrawerOpen(true);
}
}, []);
Expand Down

0 comments on commit e61c44e

Please sign in to comment.