diff --git a/assets/js/blocks/reviews/edit-utils.js b/assets/js/blocks/reviews/edit-utils.js index f3fc945364b..46770ba90b1 100644 --- a/assets/js/blocks/reviews/edit-utils.js +++ b/assets/js/blocks/reviews/edit-utils.js @@ -2,7 +2,6 @@ * External dependencies */ import { __ } from '@wordpress/i18n'; -import { Fragment } from '@wordpress/element'; import { __experimentalCreateInterpolateElement } from 'wordpress-element'; import { Notice, @@ -36,7 +35,7 @@ export const getBlockControls = ( editMode, setAttributes ) => ( export const getSharedReviewContentControls = ( attributes, setAttributes ) => { return ( - + <> { } /> { attributes.showReviewImage && ( - + <> { ) } ) } - + ) } - + ); }; @@ -171,7 +170,7 @@ export const getSharedReviewListControls = ( attributes, setAttributes ) => { const maxPerPage = 20; return ( - + <> { min={ minPerPage } /> ) } - + ); };