From 8e3da3f02dcd0e5825ea3e9e0c513e05c6bb6985 Mon Sep 17 00:00:00 2001 From: Glen Davies Date: Mon, 12 Sep 2022 11:56:54 +1200 Subject: [PATCH] switch to view instead of div --- packages/block-library/src/spacer/controls.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/spacer/controls.js b/packages/block-library/src/spacer/controls.js index 7f47232389f382..ee702c42667819 100644 --- a/packages/block-library/src/spacer/controls.js +++ b/packages/block-library/src/spacer/controls.js @@ -16,6 +16,7 @@ import { __experimentalParseQuantityAndUnitFromRawValue as parseQuantityAndUnitFromRawValue, } from '@wordpress/components'; import { useInstanceId } from '@wordpress/compose'; +import { View } from '@wordpress/primitives'; /** * Internal dependencies @@ -71,7 +72,7 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) { ) } { spacingSizes?.length > 0 && ( -
+ -
+ ) } );