From adef847746ff5beea89384408711e3b18f8cbaee Mon Sep 17 00:00:00 2001 From: Lisa Chan Date: Wed, 4 Feb 2026 09:40:54 -0500 Subject: [PATCH] fix(payments-ui): Keep success messaging after subscription update --- .../ui/src/lib/client/components/ChurnCancel/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/payments/ui/src/lib/client/components/ChurnCancel/index.tsx b/libs/payments/ui/src/lib/client/components/ChurnCancel/index.tsx index 4c4f5240e0e..9c30e8f1d3f 100644 --- a/libs/payments/ui/src/lib/client/components/ChurnCancel/index.tsx +++ b/libs/payments/ui/src/lib/client/components/ChurnCancel/index.tsx @@ -126,10 +126,8 @@ export function ChurnCancel({ setLoading(false); } - const isActiveNotCanceling = !!active && !cancelAtPeriodEnd; - const isOffer = reason === 'eligible' && isActiveNotCanceling; - const isDiscountAlreadyApplied = - reason === 'discount_already_applied' && isActiveNotCanceling; + const isOffer = reason === 'eligible' && !cancelAtPeriodEnd && active; + const isDiscountAlreadyApplied = reason === 'discount_already_applied'; return (