diff --git a/modules/ppcp-button/src/Assets/SmartButton.php b/modules/ppcp-button/src/Assets/SmartButton.php index f8e3bff10..f1592c734 100644 --- a/modules/ppcp-button/src/Assets/SmartButton.php +++ b/modules/ppcp-button/src/Assets/SmartButton.php @@ -1177,8 +1177,6 @@ class SmartButton implements SmartButtonInterface { * @param array $components The array of components already registered. */ return apply_filters( 'woocommerce_paypal_payments_sdk_components_hook', $components ); - - return $components; } /**