import { getPatient } from '../actions'; import { ClientHeader } from './components/client-header'; import { ClientSidebar } from './components/client-sidebar'; export default async function PatientDetailLayout({ children, params, }: { children: React.ReactNode; params: Promise<{ id: string }>; }) { const { id } = await params; const patient = await getPatient(id); return (
{/* Client Header */} {/* Main Content Area with Sidebar */}
{/* Sidebar Navigation */} {/* Page Content */}
{children}
); }