diff --git a/packages/block-library/src/navigation-link/edit.js b/packages/block-library/src/navigation-link/edit.js index d299b146913428..9fc61f8b649942 100644 --- a/packages/block-library/src/navigation-link/edit.js +++ b/packages/block-library/src/navigation-link/edit.js @@ -192,7 +192,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