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 ? ( ) : (