perf: Slim down trpc queries in Settings Layout (#20918)

* slim down settings layout by removing server queries

* add check method

* fix type check

* refactor
This commit is contained in:
Benny Joo authored and GitHub committed 2025-04-23 20:13:26 +00:00
1 parent 513f54f4fe
commit d844fd6ef7
5 files changed
+33 -54

No files matched your search

@@ -1,8 +1,8 @@
import SkeletonLoaderTeamList from "@calcom/ee/teams/components/SkeletonloaderTeamList";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import { trpc } from "@calcom/trpc/react";
import { EmptyScreen } from "@calcom/ui/components/empty-screen";
import { Alert } from "@calcom/ui/components/alert";
import { EmptyScreen } from "@calcom/ui/components/empty-screen";
import OtherTeamList from "./OtherTeamList";