diff --git a/packages/block-library/src/separator/edit.js b/packages/block-library/src/separator/edit.js
index 37d2e97df7c269..f611abde42a62b 100644
--- a/packages/block-library/src/separator/edit.js
+++ b/packages/block-library/src/separator/edit.js
@@ -16,18 +16,18 @@ import SeparatorSettings from './separator-settings';
function SeparatorEdit( { color, setColor, className } ) {
return (
<>
-
-
-
+ },
+ } ) }
+ />
>
);
diff --git a/packages/block-library/src/spacer/edit.js b/packages/block-library/src/spacer/edit.js
index 28320e38f4d296..bb0e299afec8d8 100644
--- a/packages/block-library/src/spacer/edit.js
+++ b/packages/block-library/src/spacer/edit.js
@@ -12,6 +12,7 @@ import { PanelBody, ResizableBox, RangeControl } from '@wordpress/components';
import { compose, withInstanceId } from '@wordpress/compose';
import { withDispatch } from '@wordpress/data';
import { useState } from '@wordpress/element';
+import { View } from '@wordpress/primitives';
const MIN_SPACER_HEIGHT = 1;
const MAX_SPACER_HEIGHT = 500;
@@ -48,7 +49,7 @@ const SpacerEdit = ( {
return (
<>
-
+
-
+