diff --git a/frontend/src/pages/auth/sign-up.tsx b/frontend/src/pages/auth/sign-up.tsx index 9b6b83c..3bfa7f5 100644 --- a/frontend/src/pages/auth/sign-up.tsx +++ b/frontend/src/pages/auth/sign-up.tsx @@ -59,6 +59,7 @@ const SignUp = () => { // ? HOOKS const [isSmallScreen, setIsSmallScreen] = useState(window.innerWidth < 1024) const [showPassword, setShowPassword] = useState(false) + const [showConfirmPassword, setShowConfirmPassword] = useState(false) const navigate = useNavigate() // ? FRAPPE LOGIN HOOK @@ -255,16 +256,16 @@ const SignUp = () => {
{/* Eye Icon */} setShowPassword((prev) => !prev)} + onClick={() => setShowConfirmPassword((prev) => !prev)} > - {showPassword ? : } + {showConfirmPassword ? : }