mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Remove unused
This commit is contained in:
parent
18bd00c697
commit
9b270e5696
2 changed files with 1 additions and 3 deletions
|
@ -740,7 +740,7 @@ if ( cartHasSubscriptionProducts( config.scriptData ) ) {
|
|||
}
|
||||
|
||||
if ( block_enabled ) {
|
||||
if ( (config.placeOrderEnabled || config.usePlaceOrder) && ! config.scriptData.continuation ) {
|
||||
if ( config.placeOrderEnabled && ! config.scriptData.continuation ) {
|
||||
let descriptionElement = (
|
||||
<div
|
||||
dangerouslySetInnerHTML={ { __html: config.description } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue