Fix user validation when pressing confirm
This commit is contained in:
parent
8381057e88
commit
309f746b3e
|
@ -65,7 +65,7 @@
|
|||
const onConfirm = () => {
|
||||
let valid = true
|
||||
userData.forEach((input, index) => {
|
||||
valid = validateInput(input.email, index) && valid
|
||||
valid = validateInput(input, index) && valid
|
||||
})
|
||||
if (!valid) {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue