From 7df4b87396bf514a8a2b3611680391a65ea5974a Mon Sep 17 00:00:00 2001 From: Parth Parth <34807532+thecodingaviator@users.noreply.github.com> Date: Tue, 29 Jun 2021 01:36:11 +0530 Subject: [PATCH] migrate (#42641) Co-authored-by: Parth Parth Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> --- .../src/resources/{honesty-policy.js => honesty-policy.tsx} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename client/src/resources/{honesty-policy.js => honesty-policy.tsx} (88%) diff --git a/client/src/resources/honesty-policy.js b/client/src/resources/honesty-policy.tsx similarity index 88% rename from client/src/resources/honesty-policy.js rename to client/src/resources/honesty-policy.tsx index 4254efc23a..aea9e190b4 100644 --- a/client/src/resources/honesty-policy.js +++ b/client/src/resources/honesty-policy.tsx @@ -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 = () => {

{t('settings.honesty.p5')}

{t('settings.honesty.p6')}

- + {{ email }}

test