Skip to content

Commit f8abce4

Browse files
eunjae-leeclaude
andauthored
fix: update data-table hook imports missed in calcom#27833 refactor (calcom#27900)
* fix: update data-table hook imports after refactor (calcom#27833) The data-table hooks (useDataTable, useFilterValue) were moved from @calcom/features/data-table to ~/data-table/hooks/ in calcom#27833 but this file was missed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: update DataTableProvider import path in insights-wrong-routing-view Another import missed in calcom#27833 refactor — DataTableProvider moved from @calcom/features/data-table/ to ~/data-table/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1368ffe commit f8abce4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/web/modules/insights/components/routing/WrongAssignmentReportsDashboard.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { useDataTable, useFilterValue, ZSingleSelectFilterValue } from "@calcom/features/data-table";
3+
import { ZSingleSelectFilterValue } from "@calcom/features/data-table";
44
import { useLocale } from "@calcom/lib/hooks/useLocale";
55
import { WrongAssignmentReportStatus } from "@calcom/prisma/enums";
66
import { trpc } from "@calcom/trpc/react";
@@ -30,6 +30,8 @@ import {
3030
import { useWrongAssignmentFacetedUniqueValues } from "@calcom/web/modules/insights/hooks/useWrongAssignmentFacetedUniqueValues";
3131
import { createColumnHelper, getCoreRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
3232
import { useCallback, useMemo, useState } from "react";
33+
import { useDataTable } from "~/data-table/hooks/useDataTable";
34+
import { useFilterValue } from "~/data-table/hooks/useFilterValue";
3335
import { OrgTeamsFilter } from "../filters/OrgTeamsFilter";
3436

3537
type TabType = "pending" | "handled";

apps/web/modules/insights/views/insights-wrong-routing-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { DataTableProvider } from "@calcom/features/data-table/DataTableProvider";
3+
import { DataTableProvider } from "~/data-table/DataTableProvider";
44
import { useSegments } from "~/data-table/hooks/useSegments";
55
import { WrongAssignmentReportsDashboard } from "@calcom/web/modules/insights/components/routing";
66

0 commit comments

Comments
 (0)