diff --git a/src/components/HabitGrid.jsx b/src/components/HabitGrid.jsx index e206766..5a1d772 100644 --- a/src/components/HabitGrid.jsx +++ b/src/components/HabitGrid.jsx @@ -53,19 +53,6 @@ const HabitGrid = ({ habit, onUpdate, fullView = false }) => {
- {/* Weekday labels: Monday (top) to Sunday (bottom) */} -
-
- {[1, 2, 3, 4, 5, 6, 0].map((day) => ( -
- {getWeekdayLabel(day)} -
- ))} -
- {/* Grid: Monday (top) to Sunday (bottom) */} {weeks.map((week, weekIndex) => (
@@ -100,6 +87,18 @@ const HabitGrid = ({ habit, onUpdate, fullView = false }) => { })}
))} + {/* Weekday labels: Monday (top) to Sunday (bottom) */} +
+
+ {[1, 2, 3, 4, 5, 6, 0].map((day) => ( +
+ {getWeekdayLabel(day)} +
+ ))} +