From 16700432d207b01e66a902652dd0eb4de4077838 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 3 Aug 2020 14:42:54 +0700 Subject: [PATCH] refactored --- src/containers/dialogs/LoginDialog/index.tsx | 2 +- src/containers/dialogs/RestoreRequestDialog/index.tsx | 2 +- src/redux/auth/sagas.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/containers/dialogs/LoginDialog/index.tsx b/src/containers/dialogs/LoginDialog/index.tsx index 1b2bcada..6f19c8b8 100644 --- a/src/containers/dialogs/LoginDialog/index.tsx +++ b/src/containers/dialogs/LoginDialog/index.tsx @@ -139,7 +139,7 @@ const LoginDialogUnconnected: FC = ({ onClick={onRestoreRequest} className={styles.forgot_button} > - Вспомнить парольF + Вспомнить пароль diff --git a/src/containers/dialogs/RestoreRequestDialog/index.tsx b/src/containers/dialogs/RestoreRequestDialog/index.tsx index d066d89b..9e9641e8 100644 --- a/src/containers/dialogs/RestoreRequestDialog/index.tsx +++ b/src/containers/dialogs/RestoreRequestDialog/index.tsx @@ -56,7 +56,7 @@ const RestoreRequestDialogUnconnected: FC = ({ [] ); - const header = useMemo(() =>
ILLUSTRATE ME
, []); + const header = useMemo(() =>
, []); const overlay = useMemo( () => diff --git a/src/redux/auth/sagas.ts b/src/redux/auth/sagas.ts index cb6b323b..b3aa7aa8 100644 --- a/src/redux/auth/sagas.ts +++ b/src/redux/auth/sagas.ts @@ -464,8 +464,8 @@ function* loginWithSocial({ token }: ReturnType) { if (data.token) { yield put(authSetToken(data.token)); - yield put(modalSetShown(false)); yield call(refreshUser); + yield put(modalSetShown(false)); return; } } catch (e) {