import * as React from 'react'; import { useDispatch } from 'react-redux'; import { useTranslation } from 'react-i18next'; import { Link, useNavigate } from 'react-router-dom'; import { Routes } from '@utilities'; import { AuthActionType } from '@store/enums'; import { Wrapper, PasswordResetForm } from '@components'; export const PasswordReset: React.FunctionComponent = () => { const { t } = useTranslation(); const dispatch = useDispatch(); const navigate = useNavigate(); return ( { dispatch({ type: AuthActionType.PASSWORD_RESET_REQUEST, payload: { ...payload, redirect: (): void => navigate(Routes.LOGIN) } }); }} >

{t('You can also')} {t('Sign up')} {t('or')}{' '} {t('Login')}

); }; export default PasswordReset;