From 9919a8d76827d1b751d6b66222ae524147239b8e Mon Sep 17 00:00:00 2001 From: lucia <51058748+lucia-gomez@users.noreply.github.com> Date: Sat, 30 Nov 2024 21:31:53 -0500 Subject: [PATCH] fix isClosed error --- .../components/CalendarVerticalResource.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/booking-app/components/src/client/routes/booking/components/CalendarVerticalResource.tsx b/booking-app/components/src/client/routes/booking/components/CalendarVerticalResource.tsx index 06f37356..3ffd1206 100644 --- a/booking-app/components/src/client/routes/booking/components/CalendarVerticalResource.tsx +++ b/booking-app/components/src/client/routes/booking/components/CalendarVerticalResource.tsx @@ -246,13 +246,13 @@ export default function CalendarVerticalResource({ (setting) => Object.values(Days)[dateView.getDay()] === setting.day ); - if (operationHoursToday.isClosed) { - return ( - - The Media Commons are closed on Sundays. - - ); - } + // if (operationHoursToday.isClosed) { + // return ( + // + // The Media Commons are closed on Sundays. + // + // ); + // } const slotMinTime = `${operationHoursToday.open}:00:00`; const slotMaxTime = `${operationHoursToday.close}:00:00`;