diff --git a/src/states/Manage/Manage.jsx b/src/states/Manage/Manage.jsx index b0280cd..e2fe577 100644 --- a/src/states/Manage/Manage.jsx +++ b/src/states/Manage/Manage.jsx @@ -25,6 +25,7 @@ export const Manage = () => { const location = useLocation(); const [currentPage, setCurrentPage] = useState({}); + const [sidebarOpen, setSidebarOpen] = useState(false); useEffect(() => { setCurrentPage(getPage(location.pathname)); @@ -36,10 +37,11 @@ export const Manage = () => { return (
- {Object.keys(currentPage).length !== 0 && } + {Object.keys(currentPage).length !== 0 && }
-
+
+ {outlet}