Merge pull request #2589 from woocommerce/PCP-3672-remove-unnecessary-console-log

Remove leftover `console.log`
This commit is contained in:
Emili Castells 2024-09-13 12:06:23 +02:00 committed by GitHub
commit b0e7510e63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -228,7 +228,6 @@ class Renderer {
}; };
shouldEnableShippingCallback = () => { shouldEnableShippingCallback = () => {
console.log(this.defaultSettings.context, this.defaultSettings)
let needShipping = this.defaultSettings.needShipping || this.defaultSettings.context === 'product' let needShipping = this.defaultSettings.needShipping || this.defaultSettings.context === 'product'
return this.defaultSettings.should_handle_shipping_in_paypal && needShipping return this.defaultSettings.should_handle_shipping_in_paypal && needShipping
}; };