From 15261499de57232ce0798aa00cc8b98d3cba4185 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 12 Sep 2023 11:08:05 +0000 Subject: [PATCH] Various repairs to code --- src/pages/Signup.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 ) {