diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx index 08b405fd..4028296e 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx +++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx @@ -2,21 +2,27 @@ import React from 'react'; import styles from './CalendarGrid.module.scss'; import CalendarCell from '../CalendarGridCell/CalendarGridCell'; + +const daysOfWeek = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']; +const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8); + +/** + * Grid of CalendarGridCell components forming the user's course schedule calendar view + * @param props + */ const Calendar: React.FC = (props) => { - const daysOfWeek = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday']; - const hoursOfDay = Array.from({ length: 14 }, (_, index) => index + 8); return ( -