perf: Removed unused queries for user event types (#10568)

* perf: Removed unused queries for user event types

* Added empty children array

* Refactor to clean up

* Fixing type issue

* Removed extra call to get raw event types

* Temporarily putting children back

* Removing include from children

* Added check for children

* Put children back for testing

---------

Co-authored-by: Alan <[email protected]>
This commit is contained in:
Keith WilliamsandAlan authored and GitHub committed 2023-09-05 11:35:02 -07:00
1 parent 3f0380617a
commit b4b90f2d27
4 files changed
+24 -17

No files matched your search

@@ -20,14 +20,9 @@ import {
Tooltip,
Badge,
Avatar,
ArrowButton
ArrowButton,
} from "@calcom/ui";
import {
Edit2,
Link as LinkIcon,
MoreHorizontal,
Trash2,
} from "@calcom/ui/components/icon";
import { Edit2, Link as LinkIcon, MoreHorizontal, Trash2 } from "@calcom/ui/components/icon";
import { useOrgBranding } from "../../organizations/context/provider";
import { subdomainSuffix } from "../../organizations/lib/orgDomains";