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

{t('overleaf_labs')}

{labsProgram ? null : (

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

)}

{labsProgram ? t('labs_program_already_participating') : t('labs_program_not_participating')}

{t('manage_labs_program_membership')} ) } export default LabsProgramSection