chore: Remove all instances of useIntercom (#18500)

This commit is contained in:
Alex van Andel authored and GitHub committed 2025-01-07 07:43:46 -05:00
1 parent 06d8b98b15
commit fd7f6c32ae
5 files changed
+8 -281

No files matched your search

+1 -2
View File
@@ -6,7 +6,6 @@ import { Toaster } from "react-hot-toast";
import { useRedirectToLoginIfUnauthenticated } from "@calcom/features/auth/lib/hooks/useRedirectToLoginIfUnauthenticated";
import { useRedirectToOnboardingIfNeeded } from "@calcom/features/auth/lib/hooks/useRedirectToOnboardingIfNeeded";
import { useBootIntercom } from "@calcom/features/ee/support/lib/intercom/useIntercom";
import { KBarContent, KBarRoot } from "@calcom/features/kbar/Kbar";
import TimezoneChangeDialog from "@calcom/features/settings/TimezoneChangeDialog";
import classNames from "@calcom/lib/classNames";
@@ -29,7 +28,7 @@ const Layout = (props: LayoutProps) => {
const isFullPageWithoutSidebar = pathname?.startsWith("/apps/routing-forms/reporting/");
const pageTitle = typeof props.heading === "string" && !props.title ? props.heading : props.title;
const withoutSeo = props.withoutSeo ?? props.withoutMain ?? false;
useBootIntercom();
useFormbricks();
return (