From 3e3d83a6a715834fd20a1af9a8e605aae7afddea Mon Sep 17 00:00:00 2001 From: Ella Date: Wed, 13 Dec 2023 22:19:23 +0100 Subject: [PATCH] Remove old comment --- packages/block-editor/src/components/block-list/block.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/block-editor/src/components/block-list/block.js b/packages/block-editor/src/components/block-list/block.js index 1e050e3c71e62..0bd5d0b7e199f 100644 --- a/packages/block-editor/src/components/block-list/block.js +++ b/packages/block-editor/src/components/block-list/block.js @@ -566,8 +566,6 @@ function BlockListBlockProvider( props ) { const hasLightBlockWrapper = blockType?.apiVersion > 1; const movingClientId = hasBlockMovingClientId(); - // Do not add new properties here, use `useSelect` instead to avoid - // leaking new props to the public API (editor.BlockListBlock filter). return { mode: getBlockMode( clientId ), isSelectionEnabled: isSelectionEnabled(),