From 03bd1914c474a0e5b7a2e00842d53b0ff343329f Mon Sep 17 00:00:00 2001 From: Noah Overcash Date: Thu, 21 Sep 2023 15:12:33 -0400 Subject: [PATCH] Fix typo --- src/forms/CalendarForm/validation/validateExceptions.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forms/CalendarForm/validation/validateExceptions.tsx b/src/forms/CalendarForm/validation/validateExceptions.tsx index 7a1e50f1..6aeec69e 100644 --- a/src/forms/CalendarForm/validation/validateExceptions.tsx +++ b/src/forms/CalendarForm/validation/validateExceptions.tsx @@ -252,7 +252,7 @@ export function validateExceptionInterOverlaps( .min(row.rows.map(({ startDate }) => dayjs(startDate))) ?.startOf('day'), endDate: dayjs - .maxrow.rows.map(({ endDate }) => dayjs(endDate))) + .max(row.rows.map(({ endDate }) => dayjs(endDate))) ?.endOf('day') }));