Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1908442 - call close method for Custom Job Action/Custom Push Act…
…ion modal in callback of setState This is a regression from the upgrade to React 18. 'setState' (to set it from triggering state to non-triggering state) is asynchronous and the method in which it gets set calls this.close() itself. Put that call as callback of these setState calls.
- Loading branch information