From 981b8e0b8f91a370e3c172d998ab9d174223e908 Mon Sep 17 00:00:00 2001 From: hbjORbj Date: Thu, 6 Feb 2025 22:42:10 -0500 Subject: [PATCH] chore: Remove HeadSeo components where not needed --- apps/web/components/apps/App.tsx | 6 ------ apps/web/modules/signup-view.tsx | 13 +------------ 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsx index 6ad0c4b60b3da0..f0ef2ead98520b 100644 --- a/apps/web/components/apps/App.tsx +++ b/apps/web/components/apps/App.tsx @@ -1,7 +1,6 @@ import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired"; import Shell from "@calcom/features/shell/Shell"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { HeadSeo } from "@calcom/ui"; import type { AppPageProps } from "./AppPage"; import { AppPage } from "./AppPage"; @@ -14,11 +13,6 @@ const ShellHeading = () => { export default function WrappedApp(props: AppPageProps) { return ( } backPath="/apps" withoutSeo> - {props.licenseRequired ? ( diff --git a/apps/web/modules/signup-view.tsx b/apps/web/modules/signup-view.tsx index 84e2abca13ce99..f00a7fb0c0a56a 100644 --- a/apps/web/modules/signup-view.tsx +++ b/apps/web/modules/signup-view.tsx @@ -39,17 +39,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry"; import { signupSchema as apiSignupSchema } from "@calcom/prisma/zod-utils"; import type { inferSSRProps } from "@calcom/types/inferSSRProps"; -import { - Button, - HeadSeo, - PasswordField, - TextField, - Form, - Alert, - CheckboxField, - Icon, - showToast, -} from "@calcom/ui"; +import { Button, PasswordField, TextField, Form, Alert, CheckboxField, Icon, showToast } from "@calcom/ui"; import type { getServerSideProps } from "@lib/signup/getServerSideProps"; @@ -337,7 +327,6 @@ export default function Signup({ "[--cal-brand-emphasis:#101010] dark:[--cal-brand-emphasis:#e1e1e1] " )}>
- {/* Left side */}
{displayBackButton && (