|
@ -411,8 +411,7 @@ export default function RegisterScreen(props) { |
|
|
} else { |
|
|
} else { |
|
|
fieldsAreNotInUse(form, actions).then((isNotUsed) => { |
|
|
fieldsAreNotInUse(form, actions).then((isNotUsed) => { |
|
|
if (isNotUsed) { |
|
|
if (isNotUsed) { |
|
|
console.log("abobrinha"); |
|
|
|
|
|
// handleSubmit(form);
|
|
|
|
|
|
|
|
|
handleSubmit(form); |
|
|
} else { |
|
|
} else { |
|
|
console.log("scrolll"); |
|
|
console.log("scrolll"); |
|
|
scroll.scrollTo({ x: 0, y: 0, animated: true }); |
|
|
scroll.scrollTo({ x: 0, y: 0, animated: true }); |
|
|