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:
Parth Parth
2021-06-29 01:36:11 +05:30
committed by Mrugesh Mohapatra
parent 11d71adc6e
commit 7df4b87396

View File

@ -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>