Skip to content

Commit

Permalink
Update comment wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jan 23, 2024
1 parent b502227 commit 028cc9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/block-editor/src/hooks/block-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ function BlockHooksControlPure( { name, clientId } ) {
const _hookedBlockClientIds = hookedBlocksForCurrentBlock.reduce(
( clientIds, block ) => {
// If the block doesn't exist anywhere in the block tree,
// we know that we have to display the toggle for it, and set
// it to disabled.
// we know that we have to set the toggle to disabled.
if ( getGlobalBlockCount( block.name ) === 0 ) {
return clientIds;
}
Expand Down

0 comments on commit 028cc9f

Please sign in to comment.