So the issue was passing the state before the state is fully set as the state is async a race condition occurs which means the last change update doesn't fire fast enough for the state to update before it is passed :v:
Also, I remove an onSubmit that didn't seem to do anything
So the issue was passing the state before the state is fully set as the state is async a race condition occurs which means the last change update doesn't fire fast enough for the state to update before it is passed :v:
Also, I remove an
onSubmit
that didn't seem to do anything