fix: added timezonebadge to insights/routing which appears on timezone mismatch (#25138)

* fix: added timezonebadge to insights/routing which appears on timezone mismatch

* update: removed user repository and directly used prisma

* clean up code

---------

Co-authored-by: Eunjae Lee <[email protected]>
This commit is contained in:
spandevandEunjae Lee authored and GitHub committed 2025-11-14 18:15:34 +00:00
1 parent 2477220d2d
commit 82782fcf77
3 files changed
+16 -5

No files matched your search

@@ -13,14 +13,14 @@ import {
import { InsightsOrgTeamsProvider } from "@calcom/features/insights/context/InsightsOrgTeamsProvider";
import { useLocale } from "@calcom/lib/hooks/useLocale";
export default function InsightsRoutingFormResponsesPage() {
export default function InsightsRoutingFormResponsesPage({ timeZone }: { timeZone: string }) {
const { t } = useLocale();
const pathname = usePathname();
if (!pathname) return null;
return (
<DataTableProvider tableIdentifier={pathname} useSegments={useSegments}>
<DataTableProvider tableIdentifier={pathname} useSegments={useSegments} timeZone={timeZone}>
<InsightsOrgTeamsProvider>
<div className="mb-4 space-y-4">
<RoutingFormResponsesTable />