Issue was that the setState for formSubmitted actually made React to unmount the form. So the rest of the callback were erroring I guess and execution stopped.
This could be used to prevent the redirection set in the form config itself, but idk which side effects it would have