I have a Register form Component and I want every time the submit button clicked, it will reset the errors validation object and fill with the new one. Since setErrors
setErrors