From f8abce44cbe40820fbb5ba7ad4d819a9cfa097c0 Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Thu, 12 Feb 2026 17:05:12 +0100 Subject: [PATCH] fix: update data-table hook imports missed in #27833 refactor (#27900) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: update data-table hook imports after refactor (#27833) The data-table hooks (useDataTable, useFilterValue) were moved from @calcom/features/data-table to ~/data-table/hooks/ in #27833 but this file was missed. Co-Authored-By: Claude Opus 4.6 * fix: update DataTableProvider import path in insights-wrong-routing-view Another import missed in #27833 refactor — DataTableProvider moved from @calcom/features/data-table/ to ~/data-table/. Co-Authored-By: Claude Opus 4.6 --------- Co-authored-by: Claude Opus 4.6 --- .../components/routing/WrongAssignmentReportsDashboard.tsx | 4 +++- .../modules/insights/views/insights-wrong-routing-view.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/modules/insights/components/routing/WrongAssignmentReportsDashboard.tsx b/apps/web/modules/insights/components/routing/WrongAssignmentReportsDashboard.tsx index 02b3594a6f..a6b2b46ca4 100644 --- a/apps/web/modules/insights/components/routing/WrongAssignmentReportsDashboard.tsx +++ b/apps/web/modules/insights/components/routing/WrongAssignmentReportsDashboard.tsx @@ -1,6 +1,6 @@ "use client"; -import { useDataTable, useFilterValue, ZSingleSelectFilterValue } from "@calcom/features/data-table"; +import { ZSingleSelectFilterValue } from "@calcom/features/data-table"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { WrongAssignmentReportStatus } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; @@ -30,6 +30,8 @@ import { import { useWrongAssignmentFacetedUniqueValues } from "@calcom/web/modules/insights/hooks/useWrongAssignmentFacetedUniqueValues"; import { createColumnHelper, getCoreRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table"; import { useCallback, useMemo, useState } from "react"; +import { useDataTable } from "~/data-table/hooks/useDataTable"; +import { useFilterValue } from "~/data-table/hooks/useFilterValue"; import { OrgTeamsFilter } from "../filters/OrgTeamsFilter"; type TabType = "pending" | "handled"; diff --git a/apps/web/modules/insights/views/insights-wrong-routing-view.tsx b/apps/web/modules/insights/views/insights-wrong-routing-view.tsx index 329e872cb0..d3b32131ec 100644 --- a/apps/web/modules/insights/views/insights-wrong-routing-view.tsx +++ b/apps/web/modules/insights/views/insights-wrong-routing-view.tsx @@ -1,6 +1,6 @@ "use client"; -import { DataTableProvider } from "@calcom/features/data-table/DataTableProvider"; +import { DataTableProvider } from "~/data-table/DataTableProvider"; import { useSegments } from "~/data-table/hooks/useSegments"; import { WrongAssignmentReportsDashboard } from "@calcom/web/modules/insights/components/routing";