From 37ff92c41b740557ab96ef30cacfba3dc5b27a82 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 (#8140) --- .../js/blocks/cart-checkout-shared/sidebar-notices/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx b/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx index 391cb424b1f..1fb2e516e07 100644 --- a/assets/js/blocks/cart-checkout-shared/sidebar-notices/index.tsx +++ b/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( ) } - + ); },