refactor: Break useCreateEventType hook into web-specific and platform-specific ones (#27522)

* migrate useCreateEventType hook to web

* fix

* fix

* fix import
This commit is contained in:
Benny Joo authored and GitHub committed 2026-02-05 15:06:05 +05:30
1 parent cf55b5b462
commit 249065851b
8 files changed
+46 -34

No files matched your search

@@ -3,7 +3,7 @@
import { useRouter } from "next/navigation";
import { useOrgBranding } from "@calcom/features/ee/organizations/context/provider";
import { useCreateEventType } from "@calcom/features/eventtypes/hooks/useCreateEventType";
import { useCreateEventType } from "~/event-types/hooks/useCreateEventType";
import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc/react";