fix hydration error

pull/11421/merge^2
Sean Brydon 2023-10-18 14:28:18 +01:00
parent 5d794efcae
commit e4a5bba18e
1 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,6 @@ import type { CSSProperties } from "react";
import { useState, useEffect } from "react";
import type { SubmitHandler } from "react-hook-form";
import { useForm, useFormContext } from "react-hook-form";
import { Trans } from "react-i18next";
import { z } from "zod";
import getStripe from "@calcom/app-store/stripepayment/lib/client";
@ -19,7 +18,7 @@ import { isSAMLLoginEnabled } from "@calcom/features/ee/sso/lib/saml";
import { useFlagMap } from "@calcom/features/flags/context/provider";
import { getFeatureFlagMap } from "@calcom/features/flags/server/utils";
import { classNames } from "@calcom/lib";
import { APP_NAME, IS_CALCOM, IS_SELF_HOSTED, WEBAPP_URL, WEBSITE_URL } from "@calcom/lib/constants";
import { APP_NAME, IS_CALCOM, IS_SELF_HOSTED, WEBAPP_URL } from "@calcom/lib/constants";
import { fetchUsername } from "@calcom/lib/fetchUsername";
import { useDebounce } from "@calcom/lib/hooks/useDebounce";
import { useLocale } from "@calcom/lib/hooks/useLocale";
@ -371,7 +370,7 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
<Link href="/auth/login" className="text-emphasis hover:underline">
{t("already_have_account")}
</Link>
<div className="text-subtle">
{/* <div className="text-subtle">
<Trans i18nKey="signing_up_terms" as="p">
By signing up, you agree to our
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/terms`}>
@ -381,7 +380,7 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
Privacy Policy
</Link>
</Trans>
</div>
</div> */}
</div>
</div>
</div>