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

10 lines
262 B
TypeScript
Raw Normal View History

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