diff --git a/assets/js/atomic/blocks/product-elements/product-image-gallery/edit.tsx b/assets/js/atomic/blocks/product-elements/product-image-gallery/edit.tsx index 7740bccab2a..588492b11ed 100644 --- a/assets/js/atomic/blocks/product-elements/product-image-gallery/edit.tsx +++ b/assets/js/atomic/blocks/product-elements/product-image-gallery/edit.tsx @@ -1,7 +1,6 @@ /** * External dependencies */ -import { useBorderProps } from '@woocommerce/base-hooks'; import { WC_BLOCKS_IMAGE_URL } from '@woocommerce/block-settings'; import { isEmptyObject } from '@woocommerce/types'; import { useBlockProps } from '@wordpress/block-editor'; @@ -13,9 +12,7 @@ import { Disabled } from '@wordpress/components'; */ import './editor.scss'; -const Placeholder = ( { attributes }: BlockAttributes ) => { - const marginProps = useBorderProps( attributes ); - +const Placeholder = () => { return (