web: consider canceled Pro subscription as Pro

This commit is contained in:
Abdullah Atta
2023-06-23 19:05:53 +05:00
parent 533884e534
commit bb1cb8dc33

View File

@@ -111,7 +111,7 @@ export function UserProfile() {
color: "primary"
}}
>
{remainingDays > 0 && isPro
{remainingDays > 0 && (isPro || isProCancelled)
? `PRO`
: remainingDays > 0 && isTrial
? "TRIAL"