diff --git a/src/libs/SubscriptionUtils.ts b/src/libs/SubscriptionUtils.ts index c807d0ca4a7e..9a4d1d1c5d28 100644 --- a/src/libs/SubscriptionUtils.ts +++ b/src/libs/SubscriptionUtils.ts @@ -351,7 +351,7 @@ function hasSubscriptionRedDotError(): boolean { * @returns Whether there is a subscription green dot info. */ function hasSubscriptionGreenDotInfo(): boolean { - return !getSubscriptionStatus()?.isError ?? false; + return getSubscriptionStatus()?.isError === false; } /**