'use client';

import { useEffect } from 'react';
import { useRouter } from 'next/navigation';

/**
 * Page de redirection employé vers le dashboard
 */
export default function EmployePage() {
  const router = useRouter();

  useEffect(() => {
    router.replace('/employe/dashboard');
  }, [router]);

  return null;
}
