Skip to content

Commit

Permalink
Remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Dec 13, 2023
1 parent 3945c0d commit 3e3d83a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/block-editor/src/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 3e3d83a

Please sign in to comment.