diff --git a/app/admin/form/[id]/layout.tsx b/app/admin/form/[id]/layout.tsx index c77c551..164e9c9 100644 --- a/app/admin/form/[id]/layout.tsx +++ b/app/admin/form/[id]/layout.tsx @@ -1,7 +1,7 @@ import { getServerSession } from "next-auth"; import { authOptions } from "@/app/api/auth/[...nextauth]/route"; import { redirect } from "next/navigation"; -import { SidebarProvider } from "@/components/ui/sidebar"; +import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar"; import { AdminSidebar } from "./client"; import { Metadata } from "next"; @@ -35,9 +35,12 @@ export default async function AdminFormLayout(
+
+ +
{props.children}
); -} +} \ No newline at end of file