import { useTranslation, Trans } from 'react-i18next' import { PriceExceptions } from '../shared/price-exceptions' import PremiumFeaturesLink from '../dashboard/premium-features-link' import getMeta from '../../../../utils/meta' import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context' import OLRow from '@/features/ui/components/ol/ol-row' import OLCol from '@/features/ui/components/ol/ol-col' import OLCard from '@/features/ui/components/ol/ol-card' import OLNotification from '@/features/ui/components/ol/ol-notification' function SuccessfulSubscription() { const { t } = useTranslation() const { personalSubscription: subscription } = useSubscriptionDashboardContext() const postCheckoutRedirect = getMeta('ol-postCheckoutRedirect') const { appName, adminEmail } = getMeta('ol-ExposedSettings') if (!subscription || !('recurly' in subscription)) return null return (
{t('to_modify_your_subscription_go_to')} {t('manage_subscription')}.
> } /> {subscription.groupPlan && ({t('add_your_first_group_member_now')}
)}{t('thanks_for_subscribing_you_help_sl', { planName: subscription.plan.name, })}
{t('need_anything_contact_us_at')} {adminEmail} .
{t('regards')},
The {appName} Team