Switching plan overflows (#11396)

Swithcing plan overflows the modal soo Bonapara said to go back to
simple switch plan until we have a better version next week with the
stirpe pricing page
This commit is contained in:
Guillim
2025-04-07 17:09:29 +02:00
committed by GitHub
parent 59ae978ee3
commit c798cccba7

View File

@ -181,10 +181,6 @@ export const ChooseYourPlan = () => {
? BillingPlanKey.ENTERPRISE
: BillingPlanKey.PRO;
const alternatePlanName = plans?.plans.find(
(plan) => plan.planKey === alternatePlan,
)?.baseProduct.name;
return (
<>
{isDefined(baseProductPrice) && isDefined(billing) ? (
@ -256,7 +252,7 @@ export const ChooseYourPlan = () => {
</ActionLink>
<span />
<ActionLink onClick={handleSwitchPlan(alternatePlan)}>
<Trans>Switch to {alternatePlanName}</Trans>
<Trans>Switch Plan</Trans>
</ActionLink>
<span />
<ActionLink href={CAL_LINK} target="_blank" rel="noreferrer">