diff --git a/src/pages/Signup.js b/src/pages/Signup.js index 69dd55c..727c3e7 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -35,13 +35,13 @@ export function Signup ( props ) { }, [useremail] ) useEffect( () => { - if( setUserpassword.length >= 8 ) { + if( password.length >= 8 ) { setValidpassword(true) } else{ setValidpassword(false) } - }, [setUserpassword] ) + }, [password] ) return ( @@ -79,8 +79,9 @@ export function Signup ( props ) {