fix: provide timeZone to /insights from the server side (#21580)

This commit is contained in:
Eunjae Lee authored and GitHub committed 2025-06-12 15:26:44 +00:00
1 parent 5bb2a904ce
commit 6cccb1725f
10 files changed
+102 -98

No files matched your search

+2 -2
View File
@@ -28,9 +28,9 @@ import { useInsightsBookings } from "@calcom/features/insights/hooks/useInsights
import { useInsightsOrgTeams } from "@calcom/features/insights/hooks/useInsightsOrgTeams";
import { useLocale } from "@calcom/lib/hooks/useLocale";
export default function InsightsPage() {
export default function InsightsPage({ timeZone }: { timeZone: string }) {
return (
<DataTableProvider>
<DataTableProvider timeZone={timeZone}>
<InsightsOrgTeamsProvider>
<InsightsPageContent />
</InsightsOrgTeamsProvider>