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; }, [] ); /*