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:
@ -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">
|
||||
|
||||
Reference in New Issue
Block a user