diff --git a/packages/block-library/src/spacer/controls.js b/packages/block-library/src/spacer/controls.js index 401b132092f446..ee702c42667819 100644 --- a/packages/block-library/src/spacer/controls.js +++ b/packages/block-library/src/spacer/controls.js @@ -17,7 +17,6 @@ import { } from '@wordpress/components'; import { useInstanceId } from '@wordpress/compose'; import { View } from '@wordpress/primitives'; -import { Platform } from '@wordpress/element'; /** * Internal dependencies @@ -58,9 +57,7 @@ function DimensionInput( { label, onChange, isResizing, value = '' } ) { return ( <> - { ( ! spacingSizes || - spacingSizes?.length === 0 || - Platform.isNative ) && ( + { ( ! spacingSizes || spacingSizes?.length === 0 ) && (