Hii, I am trying to update the values array inside the handleSubmit function but on consoling the value of the array it is behaving asynchronously, It is printing empty array even though I have added the object inside the array can someone please help me ?

Go to top