Skip to content

Commit 0118b99

Browse files
committed
fix? not including test
1 parent 8e30f45 commit 0118b99

File tree

3 files changed

+200
-140
lines changed

3 files changed

+200
-140
lines changed

apps/payments/next/app/[locale]/subscriptions/[subscriptionId]/cancel/page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ export default async function CancelSubscriptionPage({
4646
);
4747
}
4848

49+
if (pageContent.isEligibleForCancelInterstitialOffer === true) {
50+
redirect(`/${locale}/subscriptions/${subscriptionId}/offer`);
51+
}
52+
4953
return (
5054
<CancelSubscription
5155
userId={uid}

0 commit comments

Comments
 (0)