diff --git a/packages/block-editor/src/hooks/block-hooks.js b/packages/block-editor/src/hooks/block-hooks.js index a1640c72f4b2b4..f9d7026e48545f 100644 --- a/packages/block-editor/src/hooks/block-hooks.js +++ b/packages/block-editor/src/hooks/block-hooks.js @@ -83,7 +83,7 @@ function BlockHooksControlPure( { name, clientId } ) { } const hookedBlock = candidates?.find( - ( candidate ) => name === candidate.name + ( candidate ) => candidate.name === block.name ); // If the block exists in the designated location, we consider it hooked