From b4aad6f3e47d6ef5c8eb1aa1bfff1a020a9d6e8b Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Thu, 28 Nov 2024 05:40:17 +0000 Subject: [PATCH] Remove more coercion copy/paste Co-authored-by: Ramon --- packages/editor/src/components/header/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/header/index.js b/packages/editor/src/components/header/index.js index 2bf969998836f5..284c92f2f63118 100644 --- a/packages/editor/src/components/header/index.js +++ b/packages/editor/src/components/header/index.js @@ -105,7 +105,7 @@ function Header( { const hasSectionRootClientId = useSelect( ( select ) => { const { getSectionRootClientId } = unlock( select( blockEditorStore ) ); const theRoot = getSectionRootClientId(); - return !! theRoot?.length > 0; + return theRoot?.length > 0; }, [] ); /*