From a63cde416fd897d6060e39562dc0813996cee771 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Sun, 23 Oct 2022 23:59:15 +0300 Subject: [PATCH] forgot-fix --- src/components/Nav/AuthModal/ForgotPasswordForm.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Nav/AuthModal/ForgotPasswordForm.tsx b/src/components/Nav/AuthModal/ForgotPasswordForm.tsx index ebd09d47..fcb8777a 100644 --- a/src/components/Nav/AuthModal/ForgotPasswordForm.tsx +++ b/src/components/Nav/AuthModal/ForgotPasswordForm.tsx @@ -7,7 +7,6 @@ import { useRouter } from '../../../stores/router' import { email, setEmail } from './sharedLogic' import type { AuthModalSearchParams } from './types' import { isValidEmail } from './validators' -import { checkEmail, register } from '../../../stores/auth' import { ApiError } from '../../../utils/apiClient' type FormFields = { @@ -61,7 +60,7 @@ export const ForgotPasswordForm = () => { } return ( -
+

{t('Forgot password?')}

{t('Everything is ok, please give us your email address')} @@ -71,6 +70,9 @@ export const ForgotPasswordForm = () => { + +
{validationErrors().email}
+