From f4baa83b6dd05c7bd155f388c25ccb925a28e51b Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Wed, 16 Apr 2025 09:36:36 +0530 Subject: [PATCH] individual affect eye icon on pass --- src/pages/authentication/ResetPasswordPage.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pages/authentication/ResetPasswordPage.jsx b/src/pages/authentication/ResetPasswordPage.jsx index 50629bac..de1984b9 100644 --- a/src/pages/authentication/ResetPasswordPage.jsx +++ b/src/pages/authentication/ResetPasswordPage.jsx @@ -35,8 +35,9 @@ const resetPasswordSchema = z const ResetPasswordPage = () => { const [searchParams] = useSearchParams(); - const [loading, setLoading] = useState(false); + const [ loading, setLoading ] = useState( false ); const [hidepass, setHidepass] = useState(true); + const [hidepass1, setHidepass1] = useState(true); const token = searchParams.get("token"); const navigate = useNavigate(); @@ -144,7 +145,7 @@ const ResetPasswordPage = () => {
{ /> setHidepass(!hidepass)} + onClick={() => setHidepass1(!hidepass1)} > - {hidepass ? ( + {hidepass1 ? ( ) : ( -- 2.43.0