import { useTranslation } from 'react-i18next' import getMeta from '../../../../utils/meta' import InstitutionMemberships from './institution-memberships' import FreePlan from './free-plan' import PremiumFeaturesLink from './premium-features-link' function SubscriptionDashboard() { const { t } = useTranslation() const institutionMemberships = getMeta('ol-currentInstitutionsWithLicence') const hasDisplayedSubscription = institutionMemberships?.length > 0 return (

{t('your_subscription')}

{hasDisplayedSubscription ? : }
) } export default SubscriptionDashboard