Skip to content

Commit

Permalink
Remove more coercion copy/paste
Browse files Browse the repository at this point in the history
Co-authored-by: Ramon <[email protected]>
  • Loading branch information
getdave and ramonjd authored Nov 28, 2024
1 parent 4d4a888 commit b4aad6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}, [] );

/*
Expand Down

0 comments on commit b4aad6f

Please sign in to comment.