migrate (#42641)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
11d71adc6e
commit
7df4b87396
@ -1,7 +1,7 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import { Trans, useTranslation } from 'react-i18next';
|
||||
|
||||
const HonestyPolicy = () => {
|
||||
const HonestyPolicy = (): JSX.Element => {
|
||||
const { t } = useTranslation();
|
||||
const email = 'team@freecodecamp.org';
|
||||
|
||||
@ -14,7 +14,7 @@ const HonestyPolicy = () => {
|
||||
<p key={5}>{t('settings.honesty.p5')}</p>
|
||||
<p key={6}>{t('settings.honesty.p6')}</p>
|
||||
<p key={7}>
|
||||
<Trans email={email} i18nKey='settings.honesty.p7'>
|
||||
<Trans i18nKey='settings.honesty.p7'>
|
||||
<a href={`mailto:${email}`}>{{ email }}</a>
|
||||
<h1>test</h1>
|
||||
</Trans>
|
Reference in New Issue
Block a user