Closed chickenn00dle closed 1 month ago
Closes https://app.asana.com/0/1207817176293825/1208379852549374
Fixes an issue where when modal checkout renders the cart with no errors, the modal is left in a loading state infinitely:
This is very difficult to reproduce since the case of modal checkout rendering the cart page with no errors seems to only happen on the Hyperallergic beta test site, but we can mimic this by commenting out the following line of code: https://github.com/Automattic/newspack-blocks/blob/4bb284340a70750f9e2f65587510678424aeff93/includes/class-modal-checkout.php#L253
All Submissions:
Changes proposed in this Pull Request:
Closes https://app.asana.com/0/1207817176293825/1208379852549374
Fixes an issue where when modal checkout renders the cart with no errors, the modal is left in a loading state infinitely:
How to test the changes in this Pull Request:
This is very difficult to reproduce since the case of modal checkout rendering the cart page with no errors seems to only happen on the Hyperallergic beta test site, but we can mimic this by commenting out the following line of code: https://github.com/Automattic/newspack-blocks/blob/4bb284340a70750f9e2f65587510678424aeff93/includes/class-modal-checkout.php#L253
Other information: