From 9d3ac32e521d994ace67a8cba1bbe06528a97f9c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Mon, 13 Nov 2023 22:03:57 +0100 Subject: [PATCH] Updated the Manage.jsx --- src/states/Manage/Manage.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}