import { getIntakesByPatientId } from './actions'; import { IntakeList } from './components/intake-list'; import { Plus } from 'lucide-react'; import Link from 'next/link'; interface IntakesPageProps { params: Promise<{ id: string }>; } export default async function IntakesPage({ params }: IntakesPageProps) { const { id } = await params; const intakes = await getIntakesByPatientId(id); return (
Overzicht van alle intakes