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.ENTERPRISE
|
||||||
: BillingPlanKey.PRO;
|
: BillingPlanKey.PRO;
|
||||||
|
|
||||||
const alternatePlanName = plans?.plans.find(
|
|
||||||
(plan) => plan.planKey === alternatePlan,
|
|
||||||
)?.baseProduct.name;
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isDefined(baseProductPrice) && isDefined(billing) ? (
|
{isDefined(baseProductPrice) && isDefined(billing) ? (
|
||||||
@ -256,7 +252,7 @@ export const ChooseYourPlan = () => {
|
|||||||
</ActionLink>
|
</ActionLink>
|
||||||
<span />
|
<span />
|
||||||
<ActionLink onClick={handleSwitchPlan(alternatePlan)}>
|
<ActionLink onClick={handleSwitchPlan(alternatePlan)}>
|
||||||
<Trans>Switch to {alternatePlanName}</Trans>
|
<Trans>Switch Plan</Trans>
|
||||||
</ActionLink>
|
</ActionLink>
|
||||||
<span />
|
<span />
|
||||||
<ActionLink href={CAL_LINK} target="_blank" rel="noreferrer">
|
<ActionLink href={CAL_LINK} target="_blank" rel="noreferrer">
|
||||||
|
|||||||
Reference in New Issue
Block a user