From c798cccba72e02237d7ce5467dcd6303de8e876d Mon Sep 17 00:00:00 2001 From: Guillim Date: Mon, 7 Apr 2025 17:09:29 +0200 Subject: [PATCH] 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 --- .../twenty-front/src/pages/onboarding/ChooseYourPlan.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx b/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx index 04d0af2eb..a8ddede41 100644 --- a/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx +++ b/packages/twenty-front/src/pages/onboarding/ChooseYourPlan.tsx @@ -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 = () => { - Switch to {alternatePlanName} + Switch Plan