- 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.
11 lines
280 B
TypeScript
Executable File
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} />
|
|
}
|