diff --git a/modules/ppcp-blocks/resources/js/checkout-block.js b/modules/ppcp-blocks/resources/js/checkout-block.js index 13bd2c6cd..fa39ede49 100644 --- a/modules/ppcp-blocks/resources/js/checkout-block.js +++ b/modules/ppcp-blocks/resources/js/checkout-block.js @@ -590,7 +590,6 @@ const PayPalComponent = ( { style.borderRadius = buttonAttributes?.borderRadius ? Number( buttonAttributes.borderRadius ) : style.borderRadius; - style.color = buttonAttributes?.darkMode ? 'white' : ''; } if ( ! paypalScriptLoaded ) { @@ -690,7 +689,6 @@ const BlockEditorPayPalComponent = ( { fundingSource, buttonAttributes } ) => { borderRadius: buttonAttributes.borderRadius ? Number( buttonAttributes.borderRadius ) : configStyle.borderRadius, - color: buttonAttributes.darkMode ? 'white' : configStyle.color, }; }