diff --git a/client/blocks/payment-request/payment-request-express.js b/client/blocks/payment-request/payment-request-express.js index f0a1286fd..39252558a 100644 --- a/client/blocks/payment-request/payment-request-express.js +++ b/client/blocks/payment-request/payment-request-express.js @@ -81,7 +81,6 @@ const PaymentRequestExpressComponent = ( { // If we are on the checkout block, we receive button attributes which overwrite the extension specific settings if ( typeof buttonAttributes !== 'undefined' ) { height = buttonAttributes.height || height; - theme = buttonAttributes?.darkMode ? 'light' : 'dark'; } const paymentRequestButtonStyle = {