1. Problem: when using antd"s Modal.confirm, put an Input, to update the txNote property in state. But as long as there is a confirm, all you get is the previous state, instead of the updated state
2 entered in the confirm. Screenshot:
3. From top to bottom:
1.confirm
2.statetxNote""
3.confirm
4.statetxNote
5.statetxNote""
4. Follow up in the redux developer tool to see that state has been updated. Rule out the reason why state is not updated.
5. Guess:
confirmstateconfirmtxNote