Skip to content

Commit 95fb635

Browse files
author
“LAKSHMIRPILLAI”
committed
Suggested changes
1 parent 35b540c commit 95fb635

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

dotcom-rendering/src/components/marketing/epics/ThreeTierChoiceCardData.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const ChoiceCardTestData_REGULAR = (
2525
discount?: number,
2626
): JSX.Element | string => {
2727
if (!isUndefined(discount)) {
28-
return isDiscountActive ? (
28+
return (
2929
<>
3030
Support{' '}
3131
<s>
@@ -35,16 +35,6 @@ export const ChoiceCardTestData_REGULAR = (
3535
{currencySymbol}
3636
{amount * (1 - discount)}/year{' '}
3737
</>
38-
) : (
39-
<>
40-
Support{' '}
41-
<s>
42-
{currencySymbol}
43-
{amount}
44-
</s>{' '}
45-
{currencySymbol}
46-
{amount * (1 - discount)}/month{' '}
47-
</>
4838
);
4939
} else {
5040
return `Support ${currencySymbol}${amount}/month`;

dotcom-rendering/src/components/marketing/epics/ThreeTierChoiceCards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const ThreeTierChoiceCards = ({
244244
position: relative;
245245
`}
246246
>
247-
{hasDiscount && countryCode !== 'US' && (
247+
{hasDiscount && (
248248
<DiscountedPill
249249
discount={supporterPlusDiscount * 100}
250250
/>

0 commit comments

Comments
 (0)