Removed hardcoded title for single free tier in Portal (#19289)

fixes PROD-68
This commit is contained in:
Sag 2023-12-07 16:28:14 -03:00 committed by GitHub
parent b84cb87d90
commit 1fb22c8aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -451,11 +451,6 @@ export function getFreeProductBenefits({site}) {
export function getFreeTierTitle({site}) {
const freeProduct = getFreeProduct({site});
if (freeProduct?.name === 'Free' && hasOnlyFreeProduct({site})) {
return 'Free membership';
}
return freeProduct?.name || 'Free';
}