diff --git a/src/components/nav/Sidebar.tsx b/src/components/nav/Sidebar.tsx index f1dbb1c..b481aeb 100644 --- a/src/components/nav/Sidebar.tsx +++ b/src/components/nav/Sidebar.tsx @@ -3,10 +3,15 @@ import { api } from '@src/trpc/server'; import NewSidebar from './Slide'; // Keep in mind that in all routes we need pl-72 for the sidebar -const Sidebar = async () => { +const Sidebar = async ({ hamburger }: { hamburger?: 'white' | 'black' }) => { const userSidebarCapabilities = await api.userMetadata.getUserSidebarCapabilities(); - return ; + return ( + + ); }; export default Sidebar; diff --git a/src/components/nav/Slide.tsx b/src/components/nav/Slide.tsx index bf012a3..4597113 100644 --- a/src/components/nav/Slide.tsx +++ b/src/components/nav/Slide.tsx @@ -7,15 +7,17 @@ import NavMenu from './NavMenu'; import { type personalCats } from '@src/constants/categories'; const NewSidebar = ({ userCapabilities, + hamburger, }: { userCapabilities: Array<(typeof personalCats)[number]>; + hamburger: 'white' | 'black'; }) => { return (