import { Trans, useTranslation } from 'react-i18next' import { useUserContext } from '../../../shared/context/user-context' function BetaProgramSection() { const { t } = useTranslation() const { betaProgram } = useUserContext() return ( <>

{t('sharelatex_beta_program')}

{betaProgram ? null : (

{/* eslint-disable-next-line react/jsx-key */} ]} />

)}

{betaProgram ? t('beta_program_already_participating') : t('beta_program_not_participating')}

{t('manage_beta_program_membership')} ) } export default BetaProgramSection