First commit
This commit is contained in:
7
app/(protected)/teacher/page.tsx
Normal file
7
app/(protected)/teacher/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import { requireTeacher } from "@/lib/auth/requireTeacher";
|
||||
import TeacherDashboardClient from "@/components/teacher/TeacherDashboardClient";
|
||||
|
||||
export default async function TeacherDashboardPage() {
|
||||
await requireTeacher();
|
||||
return <TeacherDashboardClient />;
|
||||
}
|
||||
Reference in New Issue
Block a user