Skip to content

Commit

Permalink
Remove darkMode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflorisca committed Sep 3, 2024
1 parent bbe7ba7 commit 34b5607
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/blocks/payment-request/payment-request-express.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 34b5607

Please sign in to comment.