Skip to content

Scheduling infrastructure for absolutely everyone.

fix: hydration error warning in scheduleListItem component (#24240)

an_ifrah24d7d2487f6d7a
diff --git a/packages/features/schedules/components/ScheduleListItem.tsx b/packages/features/schedules/components/ScheduleListItem.tsx
index 417f939c09e..1f869e0d8dc 100644
--- a/packages/features/schedules/components/ScheduleListItem.tsx
+++ b/packages/features/schedules/components/ScheduleListItem.tsx
@@ -74,10 +74,10 @@ export function ScheduleListItem({
</Fragment>
))}
{(schedule.timeZone || displayOptions?.timeZone) && (
- <p className="my-1 flex items-center first-letter:text-xs">
+ <span className="my-1 flex items-center first-letter:text-xs">
<Icon name="globe" className="h-3.5 w-3.5" />
&nbsp;{schedule.timeZone ?? displayOptions?.timeZone}
- </p>
+ </span>
)}
</p>
</Link>