From ec067773f45b321efcdb580b7204ac3b8ea75bd3 Mon Sep 17 00:00:00 2001 From: Lukeshan Thananchayan Date: Sun, 1 Jun 2025 11:35:16 +0100 Subject: [PATCH] Bug fix --- src/app/management/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {