From 9dc658b850e6f14a324998ff2d6015b8dea61a36 Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Sun, 14 May 2023 19:31:38 +0100 Subject: [PATCH] yarn lint --- packages/ui/src/layout/MainLayout/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/layout/MainLayout/index.js b/packages/ui/src/layout/MainLayout/index.js index c65de322..71ead115 100644 --- a/packages/ui/src/layout/MainLayout/index.js +++ b/packages/ui/src/layout/MainLayout/index.js @@ -68,7 +68,7 @@ const MainLayout = () => { const handleLeftDrawerToggle = () => { dispatch({ type: SET_MENU, opened: !leftDrawerOpened }) } - + useEffect(() => { setTimeout(() => dispatch({ type: SET_MENU, opened: !matchDownMd }), 0) // eslint-disable-next-line react-hooks/exhaustive-deps