diff --git a/src/pages/Signup.js b/src/pages/Signup.js index bb912a9..69dd55c 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -26,7 +26,7 @@ export function Signup ( props ) { }, [username] ) useEffect( () => { - if(useremail.index0f('@') > 0 ) { + if(useremail.indexOf('@') > 0 ) { setValidemail(true) } else {