From 5b76910b857e94ef8ff14f9eef314eabdd718e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20=C3=96zer?= Date: Wed, 25 Sep 2024 17:13:37 +0300 Subject: [PATCH] Update index.jsx navigation was not defined and was giving an error because of this --- vite/src/layout/MainLayout/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite/src/layout/MainLayout/index.jsx b/vite/src/layout/MainLayout/index.jsx index 0c81ad6f5..ad6c45672 100644 --- a/vite/src/layout/MainLayout/index.jsx +++ b/vite/src/layout/MainLayout/index.jsx @@ -54,7 +54,7 @@ const Main = styled('main', { shouldForwardProp: (prop) => prop !== 'open' && pr // ==============================|| MAIN LAYOUT ||============================== // -const MainLayout = () => { +const MainLayout = ({navigation}) => { const theme = useTheme(); const matchDownMd = useMediaQuery(theme.breakpoints.down('md')); // Handle left drawer