From 27f346715e8fb88a4438eb4844e2ed1f1a849ff2 Mon Sep 17 00:00:00 2001 From: IRBorisov <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 25 Feb 2024 21:16:53 +0300 Subject: [PATCH] Update RestorePasswordPage.tsx --- rsconcept/frontend/src/pages/RestorePasswordPage.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rsconcept/frontend/src/pages/RestorePasswordPage.tsx b/rsconcept/frontend/src/pages/RestorePasswordPage.tsx index 348a1f40..6d7cd886 100644 --- a/rsconcept/frontend/src/pages/RestorePasswordPage.tsx +++ b/rsconcept/frontend/src/pages/RestorePasswordPage.tsx @@ -15,11 +15,7 @@ import { classnames } from '@/utils/constants'; function ProcessError({ error }: { error: ErrorData }): React.ReactElement { if (axios.isAxiosError(error) && error.response && error.response.status === 400) { - return ( -
- На Портале отсутствует пользователь с таким email. -
- ); + return
Данный email не используется на Портале.
; } else { return ; }