diff --git a/packages/block-editor/src/components/inspector-controls/slot.js b/packages/block-editor/src/components/inspector-controls/slot.js
index 5c18dbd1f86bb8..4957ca90b5679a 100644
--- a/packages/block-editor/src/components/inspector-controls/slot.js
+++ b/packages/block-editor/src/components/inspector-controls/slot.js
@@ -1,11 +1,7 @@
/**
* WordPress dependencies
*/
-import {
- __experimentalUseSlotFills as useSlotFills,
- __unstableMotionContext as MotionContext,
-} from '@wordpress/components';
-import { useContext, useMemo } from '@wordpress/element';
+import { __experimentalUseSlotFills as useSlotFills } from '@wordpress/components';
import warning from '@wordpress/warning';
import deprecated from '@wordpress/deprecated';
@@ -37,19 +33,6 @@ export default function InspectorControlsSlot( {
const slotFill = groups[ group ];
const fills = useSlotFills( slotFill?.name );
- const motionContextValue = useContext( MotionContext );
-
- const computedFillProps = useMemo(
- () => ( {
- ...fillProps,
- forwardedContext: [
- ...( fillProps?.forwardedContext ?? [] ),
- [ MotionContext.Provider, { value: motionContextValue } ],
- ],
- } ),
- [ motionContextValue, fillProps ]
- );
-
if ( ! slotFill ) {
warning( `Unknown InspectorControls group "${ group }" provided.` );
return null;
@@ -66,14 +49,12 @@ export default function InspectorControlsSlot( {
);
}
- return (
-
- );
+ return ;
}