From 2b0425174efbb4c8ed41566ee2d7020dba458afd Mon Sep 17 00:00:00 2001 From: Alexandre Lara Date: Mon, 19 Jun 2023 07:09:54 -0300 Subject: [PATCH] Fix PropType warning and error when adding All Reviews block to Editor (#9869) --- assets/js/blocks/reviews/all-reviews/block.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/blocks/reviews/all-reviews/block.tsx b/assets/js/blocks/reviews/all-reviews/block.tsx index 06d89e890f5..e7da183926c 100644 --- a/assets/js/blocks/reviews/all-reviews/block.tsx +++ b/assets/js/blocks/reviews/all-reviews/block.tsx @@ -75,7 +75,7 @@ const AllReviewsEditor = ( { /> } name={ __( 'All Reviews', 'woo-gutenberg-products-block' ) } - noReviewsPlaceholder={ NoReviewsPlaceholder() } + noReviewsPlaceholder={ NoReviewsPlaceholder } /> );