From 5de6374171b18dbe006066e5ae6af60c24bdd2f7 Mon Sep 17 00:00:00 2001 From: LaPaNu4 <120036931+LaPaNu4@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:21:22 +0200 Subject: [PATCH] Update ChangePassPage.jsx --- src/pages/ChangePassPage/ChangePassPage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ChangePassPage/ChangePassPage.jsx b/src/pages/ChangePassPage/ChangePassPage.jsx index c9bf2dd..1603855 100644 --- a/src/pages/ChangePassPage/ChangePassPage.jsx +++ b/src/pages/ChangePassPage/ChangePassPage.jsx @@ -7,7 +7,7 @@ import { acceptCode } from 'redux/user/opetations'; import { selectUser } from 'redux/user/selectors'; export default function ChangePassPage() { - const [success, setSuccess] = useState(true); + const [success, setSuccess] = useState(false); const dispatch = useDispatch(); const { code } = useParams(); const user = useSelector(selectUser);