Skip to content

Scheduling infrastructure for absolutely everyone.

Reverts license check on payment

zomarsb973f971a7f7
diff --git a/apps/web/ee/components/stripe/PaymentPage.tsx b/apps/web/ee/components/stripe/PaymentPage.tsx
index 76ca06ee1ef..a30571d7e69 100644
--- a/apps/web/ee/components/stripe/PaymentPage.tsx
+++ b/apps/web/ee/components/stripe/PaymentPage.tsx
@@ -6,12 +6,11 @@ import timezone from "dayjs/plugin/timezone";
import toArray from "dayjs/plugin/toArray";
import utc from "dayjs/plugin/utc";
import Head from "next/head";
-import React, { FC, useEffect, useState } from "react";
+import { FC, useEffect, useState } from "react";
import { FormattedNumber, IntlProvider } from "react-intl";
import { sdkActionManager, useIsEmbed } from "@calcom/embed-core";
import getStripe from "@calcom/stripe/client";
-import LicenseRequired from "@ee/components/LicenseRequired";
import PaymentComponent from "@ee/components/stripe/Payment";
import { PaymentPageProps } from "@ee/pages/payment/[uid]";
@@ -71,8 +70,7 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
<span className="hidden sm:inline-block sm:h-screen sm:align-middle" aria-hidden="true">
&#8203;
</span>
- <LicenseRequired
- as="div"
+ <div
className={classNames(
"main inline-block transform overflow-hidden rounded-lg border border-neutral-200 bg-white px-8 pt-5 pb-4 text-left align-bottom transition-all dark:border-neutral-700 dark:bg-gray-800 sm:w-full sm:max-w-lg sm:py-6 sm:align-middle",
isEmbed ? "" : "sm:my-8"
@@ -153,7 +151,7 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
<a href="https://cal.com/signup">{t("create_booking_link_with_calcom")}</a>
</div>
)}
- </LicenseRequired>
+ </div>
</div>
</div>
</div>