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')}
- test