diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx index 4b90edf1..582faa9f 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx +++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx @@ -21,16 +21,12 @@ const Calendar: React.FC = (props) => {
{/* Empty cell in the top-left corner */}
- {/* Displaying day labels */} - {daysOfWeek.map(day => ( -
- {day} -
- ))} +
{/* Displaying the rest of the calendar */}
+
{hoursOfDay.map((hour) => (
@@ -40,6 +36,12 @@ const Calendar: React.FC = (props) => { ))}
+ {/* Displaying day labels */} + {daysOfWeek.map(day => ( +
+ {day} +
+ ))} {grid.map((row, rowIndex) => ( row ))}