diff --git a/src/components/SideNav.tsx b/src/components/SideNav.tsx index 02af889..dcf935e 100644 --- a/src/components/SideNav.tsx +++ b/src/components/SideNav.tsx @@ -48,7 +48,7 @@ export const SideNav: React.FC = ({ rootPath, sections }) => { const { data: session } = useSession(); return ( -
+
{sections .filter((section) => section.auth?.(session?.user) ?? true) .map(({ title, children }) => (