monaco-editor-lsp-next/src/app/(protected)/dashboard/student/courses/layout.tsx

10 lines
264 B
TypeScript

import { ProtectedLayout } from "@/features/dashboard/layouts/protected-layout";
export default async function StudentCoursesLayout({
children,
}: {
children: React.ReactNode;
}) {
return <ProtectedLayout roles={["STUDENT"]}>{children}</ProtectedLayout>;
}