Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(() => navigate(form.getAttribute("action")))
.catch(error => alert(error)); .then(() => navigate(form.getAttribute("action")))
.catch(error => alert(error)); .then(() => navigate(form.getAttribute("action")))
.catch(error => alert(error)); .then(() => navigate(form.getAttribute("action")))
.catch(error => alert(error));onLogoClick={() => {
navigate('/');
}}
/>.then(() => {
navigate('/success')
setSubmitting(false)
})
.catch(error => {onLogoClick={() => {
navigate('/');
}}
/>