From 71966d8419ad62773f3117b79afde43ea8e0301e 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 c995fae4d49795..e6a041fb73c26b 100644 --- a/packages/editor/src/components/header/index.js +++ b/packages/editor/src/components/header/index.js @@ -107,7 +107,7 @@ function Header( { const hasSectionRootClientId = useSelect( ( select ) => { const { getSectionRootClientId } = unlock( select( blockEditorStore ) ); const theRoot = getSectionRootClientId(); - return !! theRoot?.length > 0; + return theRoot?.length > 0; }, [] ); /*