i\'m trying to prevent the form from submitting only when i catch an error
i have this function linked to my form onSubmit
const submitHandler = async