From e1c30f8e88651ddcae4b4f40915640e740ddbcb1 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 13 Nov 2023 08:56:18 +0100 Subject: [PATCH] Remove BlockStyles.Slot empty component (#55991) --- .../block-editor/src/components/block-styles/index.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/block-editor/src/components/block-styles/index.js b/packages/block-editor/src/components/block-styles/index.js index f598b35f890f15..03a6f8939c1811 100644 --- a/packages/block-editor/src/components/block-styles/index.js +++ b/packages/block-editor/src/components/block-styles/index.js @@ -13,7 +13,6 @@ import { __experimentalTruncate as Truncate, Popover, } from '@wordpress/components'; -import deprecated from '@wordpress/deprecated'; /** * Internal dependencies @@ -120,12 +119,3 @@ function BlockStyles( { clientId, onSwitch = noop, onHoverClassName = noop } ) { } export default BlockStyles; - -BlockStyles.Slot = () => { - deprecated( 'BlockStyles.Slot', { - version: '6.4', - since: '6.2', - } ); - - return null; -};