💄 Hide spinner when smart buttons are deactivated

This commit is contained in:
Philipp Stracker 2024-11-28 13:25:31 +01:00
parent 5e4157d488
commit 3200b05e48
No known key found for this signature in database

View file

@ -324,6 +324,10 @@ const bootstrap = () => {
messagesBootstrap.init();
apmButtonsInit( PayPalCommerceGateway );
if ( ! renderer.useSmartButtons ) {
buttonsSpinner.unblock();
}
};
document.addEventListener( 'DOMContentLoaded', () => {