import { useTranslation } from 'react-i18next' import InstitutionMemberships from './institution-memberships' import FreePlan from './free-plan' import PersonalSubscription from './personal-subscription' import ManagedGroupSubscriptions from './managed-group-subscriptions' import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context' function SubscriptionDashboard() { const { t } = useTranslation() const { hasDisplayedSubscription } = useSubscriptionDashboardContext() return (

{t('your_subscription')}

{!hasDisplayedSubscription && }
) } export default SubscriptionDashboard