mirror of
https://github.com/reiyua/RaysMovieClub.git
synced 2026-01-20 15:37:47 +00:00
made a typo on indexOf where "O" was "0"
This commit is contained in:
parent
fcdc2339d7
commit
c488682fe7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export function Signup ( props ) {
|
||||||
}, [username] )
|
}, [username] )
|
||||||
|
|
||||||
useEffect( () => {
|
useEffect( () => {
|
||||||
if(useremail.index0f('@') > 0 ) {
|
if(useremail.indexOf('@') > 0 ) {
|
||||||
setValidemail(true)
|
setValidemail(true)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue