Skip to content

Commit 32c4878

Browse files
changed boolean to true so epics nly show the longer benefits
1 parent d82a5a9 commit 32c4878

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dotcom-rendering/src/components/marketing/epics/ctas/ContributionsEpicCtasContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const ContributionsEpicCtasContainer: ReactComponent<Props> = ({
6363
countryCode={countryCode}
6464
selectedProduct={threeTierChoiceCardSelectedProduct}
6565
setSelectedProduct={setThreeTierChoiceCardSelectedProduct}
66-
choices={getChoiceCardData(false, countryCode)}
66+
choices={getChoiceCardData(true, countryCode)}
6767
supporterPlusDiscount={
6868
hasSupporterPlusPromoCode ? 0.5 : undefined
6969
}

dotcom-rendering/src/components/marketing/lib/choiceCards.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ export const contributionType: ContributionType = {
3434
};
3535

3636
export const getChoiceCardData = (
37-
shorterBenefits: boolean,
37+
longerBenefits: boolean,
3838
countryCode?: string,
3939
): ChoiceInfo[] => {
4040
return countryCode === 'US'
41-
? ChoiceCardTestData_US(shorterBenefits)
42-
: ChoiceCardTestData_REGULAR(shorterBenefits);
41+
? ChoiceCardTestData_US(longerBenefits)
42+
: ChoiceCardTestData_REGULAR(longerBenefits);
4343
};

0 commit comments

Comments
 (0)