import { redirect } from 'next/navigation';
import { requireEmployeeDashboardAccess } from '@/lib/auth/page-guards';

export const metadata = {
  title: 'Dashboard : Online Lessons'
};

export default async function Page() {
  await requireEmployeeDashboardAccess();
  redirect('/dashboard/online-lessons');
}
