Skip to content

Commit

Permalink
fix isClosed error
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-gomez committed Dec 1, 2024
1 parent 74aeda7 commit 9919a8d
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ export default function CalendarVerticalResource({
(setting) => Object.values(Days)[dateView.getDay()] === setting.day
);

if (operationHoursToday.isClosed) {
return (
<Empty>
<Typography>The Media Commons are closed on Sundays.</Typography>
</Empty>
);
}
// if (operationHoursToday.isClosed) {
// return (
// <Empty>
// <Typography>The Media Commons are closed on Sundays.</Typography>
// </Empty>
// );
// }

const slotMinTime = `${operationHoursToday.open}:00:00`;
const slotMaxTime = `${operationHoursToday.close}:00:00`;
Expand Down

0 comments on commit 9919a8d

Please sign in to comment.