Skip to content

Commit 14e6459

Browse files
committed
fix(pricing): avoid duplicate cancellation banner
1 parent 778fe8f commit 14e6459

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/landing-page/app/pages/pricing/index.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1227,8 +1227,6 @@ const jsonLd = [
12271227
let message = '';
12281228
if (!pricingContext.current && !pricingContext.checkoutAllowed) {
12291229
message = actionLabels.checkoutUnavailable;
1230-
} else if (pricingContext.current && pricingContext.cancelAtPeriodEnd) {
1231-
message = actionLabels.currentCanceling;
12321230
} else if (pricingContext.pendingChange) {
12331231
const plan = pricingContext.pendingChange.tier.charAt(0).toUpperCase()
12341232
+ pricingContext.pendingChange.tier.slice(1);

0 commit comments

Comments
 (0)