diff --git a/packages/web/src/components/SubscriptionCancelledAlert/index.ee.jsx b/packages/web/src/components/SubscriptionCancelledAlert/index.ee.jsx index b36b1ffc..ca3acb4c 100644 --- a/packages/web/src/components/SubscriptionCancelledAlert/index.ee.jsx +++ b/packages/web/src/components/SubscriptionCancelledAlert/index.ee.jsx @@ -11,14 +11,17 @@ export default function SubscriptionCancelledAlert() { const formatMessage = useFormatMessage(); const subscription = useSubscription(); const trial = useUserTrial(); - - if (subscription?.data?.status === 'active' || trial.hasTrial) - return ; - const cancellationEffectiveDateObject = DateTime.fromISO( subscription?.data?.cancellationEffectiveDate, ); + if ( + subscription?.data?.status === 'active' || + trial.hasTrial || + !cancellationEffectiveDateObject.isValid + ) + return ; + return (