diff --git a/src/app/management/page.tsx b/src/app/management/page.tsx index 53be8b0..667fda3 100644 --- a/src/app/management/page.tsx +++ b/src/app/management/page.tsx @@ -49,7 +49,7 @@ const fieldLabels: Record = { name: "Name", level: "Level" }; type RequestModalProps = { open: boolean; onClose: () => void; - requestingUserId: number; + requestingUserId: number | undefined; scientist?: Scientist | null; }; function RequestModal({ open, onClose, requestingUserId, scientist }: RequestModalProps) {