This commit is contained in:
Kenneth Jannette
2024-02-01 22:47:22 -06:00
parent 1c2a686e14
commit 27c289ed8c
2 changed files with 3 additions and 11 deletions

View File

@@ -83,16 +83,8 @@ const SignupPage = () => {
const handleChangeRadioInput = (value) => { const handleChangeRadioInput = (value) => {
const tempPlan = signupRadioFields.filter((plan) => { const tempPlan = signupRadioFields.filter((plan) => {
if (!isUpgrade) { if (plan.value === value) {
if (plan.value === value) { return plan;
return plan;
}
} else {
if (plan.value === value && plan.value === currentPlan) {
// ff
} else if (plan.value === value) {
return plan;
}
} }
}); });

View File

@@ -52,7 +52,7 @@ const Radio = (props) => {
<div className="radio-description-box"> <div className="radio-description-box">
{description.map((item, i) => { {description.map((item, i) => {
const el = const el =
item == "First month free!" ? ( item == "First month free!" && !isUpgrade ? (
<div className="offer-div"> <div className="offer-div">
<p className="signup-feat-item-bold">{item}</p> <p className="signup-feat-item-bold">{item}</p>
</div> </div>