From ebbb62c795b736f7fd2f628a0793f3d8365a4e37 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 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