diff --git a/apps/web/src/components/calendar/DayView.tsx b/apps/web/src/components/calendar/DayView.tsx index de8dc4e98..4d26cb4cd 100644 --- a/apps/web/src/components/calendar/DayView.tsx +++ b/apps/web/src/components/calendar/DayView.tsx @@ -133,16 +133,18 @@ export function DayView({ currentDate, events, tasks, handlers }: DayViewProps)
{/* Time gutter */} -
+
{HOURS.map((hour) => (
- - {format(setHours(new Date(), hour), 'h a')} - + {hour > 0 && ( + + {format(setHours(new Date(), hour), 'h a')} + + )}
))}
diff --git a/apps/web/src/components/calendar/WeekView.tsx b/apps/web/src/components/calendar/WeekView.tsx index d8f521846..25faed49f 100644 --- a/apps/web/src/components/calendar/WeekView.tsx +++ b/apps/web/src/components/calendar/WeekView.tsx @@ -157,16 +157,18 @@ export function WeekView({ currentDate, events, tasks, handlers }: WeekViewProps
{/* Time gutter */} -
+
{HOURS.map((hour) => (
- - {format(setHours(new Date(), hour), 'h a')} - + {hour > 0 && ( + + {format(setHours(new Date(), hour), 'h a')} + + )}
))}