[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
I noticed this randomly while testing another PR: the changes I made to keep modals open while redirecting broke the ability to close the variation modal.
How to test the changes in this Pull Request:
On epic/ras-acc, set up a Checkout Button block with a variable product where the reader can pick the variation.
On the front end, click the Checkout Button block to open the variation picker.
Click the close button; note it doesn't close and throws a JS error.
Apply this PR and run npm run build.
Repeat steps 2-3 and confirm that the modal closes as expected.
All Submissions:
Changes proposed in this Pull Request:
I noticed this randomly while testing another PR: the changes I made to keep modals open while redirecting broke the ability to close the variation modal.
How to test the changes in this Pull Request:
npm run build
.Other information: