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

@@ -1,7 +1,8 @@
"use client";
import { useReactTable, getCoreRowModel, getSortedRowModel } from "@tanstack/react-table";
import { TimezoneBadge } from "@calcom/features/insights/components/booking";
import { useMemo, useEffect } from "react";
import { createPortal } from "react-dom";
@@ -155,6 +156,7 @@ export function RoutingFormResponsesTable() {
<>
<DateRangeFilter column={createdAtColumn} options={{ convertToTimeZone: true }} />
<RoutingFormResponsesDownload sorting={sorting} />
<TimezoneBadge />
</>,
ctaContainerRef.current
)}