From b973f971a7f7a25e262845345328d41a7dc9f78e Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 26 May 2022 12:05:51 -0600 Subject: [PATCH] Reverts license check on payment Since it's a public page --- apps/web/ee/components/stripe/PaymentPage.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/web/ee/components/stripe/PaymentPage.tsx b/apps/web/ee/components/stripe/PaymentPage.tsx index 76ca06ee1e..a30571d7e6 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 = (props) => { - = (props) => { {t("create_booking_link_with_calcom")} )} - +