diff --git a/frontend/src/components/Staffing/ConsultantRow.tsx b/frontend/src/components/Staffing/ConsultantRow.tsx index fe0cee92..d90a041d 100644 --- a/frontend/src/components/Staffing/ConsultantRow.tsx +++ b/frontend/src/components/Staffing/ConsultantRow.tsx @@ -161,7 +161,7 @@ export default function ConsultantRows({ .map((e) => e.bookingDetails.endDateAgreement); if (dates.some((e) => e === null)) { - return ; + return ; } else if (dates.length > 0) { const newestDate = dates.reduce((a, b) => { return new Date(a as string) < new Date(b as string) ? a : b; @@ -170,12 +170,12 @@ export default function ConsultantRows({ const now = DateTime.now(); const endDate = DateTime.fromISO(newestDate as string); if (endDate < now) { - return ; + return ; } else { - return ; + return ; } } else { - return ; + return ; } }