refactor: remove 6 @calcom/trpc imports from packages/features (#27727)
* migrate booker layout selector * move schedule hooks and types * migrate feature opt in components * migrate feedback dialog * update * migrate schedule hooks * migrate useSegments * update * update import paths * fix import paths * mv useTimesForSchedule back to features * fix
This commit is contained in:
1 parent
aa5e90ab2a
commit
e64fad8e34
43 files changed
+68
-45
No files matched your search
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { FeaturesSettings } from "@calcom/features/feature-opt-in/components/FeaturesSettings";
|
||||
import { FeaturesSettings } from "~/feature-opt-in/components/FeaturesSettings";
|
||||
import SettingsHeader from "@calcom/features/settings/appDir/SettingsHeader";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import type { ReactElement } from "react";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { usePathname } from "next/navigation";
|
||||
|
||||
import { DataTableProvider } from "@calcom/features/data-table";
|
||||
import { useSegments } from "@calcom/features/data-table/hooks/useSegments";
|
||||
import { useSegments } from "~/data-table/hooks/useSegments";
|
||||
import LicenseRequired from "~/ee/common/components/LicenseRequired";
|
||||
import OrgAutoJoinSetting from "~/ee/organizations/components/OrgAutoJoinSetting";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
|
||||
@@ -4,7 +4,7 @@ import { useMemo, useState, useCallback } from "react";
|
||||
|
||||
import { DataTableProvider } from "@calcom/features/data-table";
|
||||
import { DataTableWrapper } from "~/data-table/components";
|
||||
import { useSegments } from "@calcom/features/data-table/hooks/useSegments";
|
||||
import { useSegments } from "~/data-table/hooks/useSegments";
|
||||
import { useVoicePreview } from "@calcom/features/ee/workflows/hooks/useVoicePreview";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
|
||||
Reference in new issue
Block a user