diff --git a/src/components/AuthBox/AuthBox.jsx b/src/components/AuthBox/AuthBox.jsx
index ed5ca460..f1e0cf67 100644
--- a/src/components/AuthBox/AuthBox.jsx
+++ b/src/components/AuthBox/AuthBox.jsx
@@ -28,7 +28,7 @@ export const AuthBox = ({ title }) => {
const [error, setError] = useState(null);
const [modalError, setModalError] = useState(false);
- const [modalReset, setModalReset] = useState(false)
+ const [modalReset, setModalReset] = useState(false);
const [modalReg, setModalReg] = useState(false);
const [showPassword, setShowPassword] = useState(false);
@@ -122,7 +122,9 @@ export const AuthBox = ({ title }) => {
>
{isLoading ? setActive(false)}
- />
-
Восстановление пароля
- {!step ?
- Введите email:
-
- setInputsValue((prevValue) => ({
- ...prevValue,
- email: e.target.value,
- }))
- }
- placeholder="Email"
- />
-
- setStep(false)} className='resetPassword__email__arrow' />
-
Введите код подтверждения:
-
- setInputsValue((prevValue) => ({
- ...prevValue,
- token: e.target.value,
- }))
- }
- placeholder="token"
- />
- Введите новый пароль:
-
- setInputsValue((prevValue) => ({
- ...prevValue,
- password: e.target.value,
- }))
- }
- placeholder="password"
- />
-
- setActive(false)}
+ />
+
Восстановление пароля
+ {!step ? (
+ Введите email:
+
+ setInputsValue((prevValue) => ({
+ ...prevValue,
+ email: e.target.value,
+ }))
+ }
+ placeholder="Email"
+ />
+
+ setStep(false)}
+ className="resetPassword__email__arrow"
+ />
+
Введите код подтверждения:
+
+ setInputsValue((prevValue) => ({
+ ...prevValue,
+ token: e.target.value,
+ }))
+ }
+ placeholder="token"
+ />
+ Введите новый пароль:
+
+ setInputsValue((prevValue) => ({
+ ...prevValue,
+ password: e.target.value,
+ }))
+ }
+ placeholder="password"
+ />
+
+
Вернуться на проект