diff --git a/packages/block-library/src/navigation-link/edit.js b/packages/block-library/src/navigation-link/edit.js index 641b16a7115af6..5e8706ffb74c85 100644 --- a/packages/block-library/src/navigation-link/edit.js +++ b/packages/block-library/src/navigation-link/edit.js @@ -188,7 +188,9 @@ export default function NavigationLinkEdit( { .length; return { - isAtMaxNesting : getBlockParentsByBlockName( clientId, name ).length >= MAX_NESTING, + isAtMaxNesting: + getBlockParentsByBlockName( clientId, name ).length >= + MAX_NESTING, isParentOfSelectedBlock: hasSelectedInnerBlock( clientId, true