Fix user validation when pressing confirm

This commit is contained in:
Andrew Kingston 2022-09-02 10:05:43 +01:00
parent 6cf5c7dd76
commit 6948d682fa
1 changed files with 1 additions and 1 deletions

View File

@ -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