From a918f125d2ca2eae398183817b5b9dbb2126fd07 Mon Sep 17 00:00:00 2001 From: George Hotelling Date: Wed, 24 Mar 2021 12:19:12 -0400 Subject: [PATCH] Linter --- packages/block-library/src/navigation-link/edit.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-library/src/navigation-link/edit.js b/packages/block-library/src/navigation-link/edit.js index 641b16a7115af..5e8706ffb74c8 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