Skip to content

Commit

Permalink
Quick fix to a warning that's been bugging me for forever
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdiNeu committed Jan 12, 2024
1 parent 814c9f6 commit 5c90f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/MainLayout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function MainLayout() {
const matchDownMd = useMediaQuery(theme.breakpoints.down('lg'));

// Handle left drawer
const [sidebarContent, setSidebarContent] = useState(false);
const [sidebarContent, setSidebarContent] = useState(null);
const leftDrawerOpened = useSelector((state) => state.customization.opened) && !!sidebarContent;
const dispatch = useDispatch();
const handleLeftDrawerToggle = () => {
Expand Down

0 comments on commit 5c90f9a

Please sign in to comment.