Open seakrebel opened 2 years ago
in function handleSubmit errors were being mapped from first to last, last being the only saved one (and shown to the user), which was wrong. Reversing the array before map() fixes this issue.
handleSubmit
in function
handleSubmit
errors were being mapped from first to last, last being the only saved one (and shown to the user), which was wrong. Reversing the array before map() fixes this issue.