From 8662d853f44dd05a9cfb2079bd079ed3d331591c Mon Sep 17 00:00:00 2001 From: Tung Du Date: Tue, 10 Jan 2023 17:14:43 +0700 Subject: [PATCH] Fix: unable to customize All Products block (https://github.com/woocommerce/woocommerce-blocks/pull/8140) --- .../js/blocks/cart-checkout-shared/sidebar-notices/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx index 391cb424b1f..1fb2e516e07 100644 --- a/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx +++ b/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx @@ -36,7 +36,7 @@ const withSidebarNotices = createHigherOrderComponent( // Show sidebar notices only when a WooCommerce block is selected. if ( ! blockName.startsWith( 'woocommerce/' ) || ! isBlockSelected ) { - return ; + return ; } const [ @@ -115,7 +115,7 @@ const withSidebarNotices = createHigherOrderComponent( ) } - + ); },