import { useShellOutletContext } from '@/app/shellOutletContext';
import Dashboard from '@/components/frameworks/Dashboard';

export default function DashboardPage() {
  const shell = useShellOutletContext();

  return (
    <Dashboard
      userRole={shell.userRole}
      userName={shell.userName}
      setCurrentModule={shell.setCurrentModule}
      zoneCheckIn={shell.zoneCheckIn}
      setZoneCheckIn={shell.setZoneCheckIn}
    />
  );
}
