Files
usda-vision/management-dashboard-web-app/src/components/Dashboard.tsx
salirezav 4203b768aa Enhance scheduling features in management dashboard
- Added new scheduling functionality with a dedicated Scheduling component to manage availability and experiment scheduling.
- Integrated react-big-calendar for visual calendar representation of availability slots.
- Updated Dashboard and DashboardLayout components to handle current route and pass it to child components.
- Implemented route handling for scheduling sub-routes to improve user navigation.
- Added new dependencies: moment and react-big-calendar for date handling and calendar UI.
- Improved user experience with dynamic URL updates based on selected scheduling views.
2025-09-19 12:33:25 -04:00

11 lines
280 B
TypeScript
Executable File

import { DashboardLayout } from "./DashboardLayout"
interface DashboardProps {
onLogout: () => void
currentRoute: string
}
export function Dashboard({ onLogout, currentRoute }: DashboardProps) {
return <DashboardLayout onLogout={onLogout} currentRoute={currentRoute} />
}