Skip to content

Commit

Permalink
Removing unnecessary code. Not an Easter egg.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Sep 21, 2023
1 parent 2e52836 commit b2f8e11
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export default function PageContentFocusManager( { contentRef } ) {
return {
canvasMode: _canvasMode,
pageContentFocusType: getPageContentFocusType(),
shouldDisplayPageContentTemplates:
getCanvasMode() !== 'edit' &&
getPageContentFocusType() !== 'disableTemplate',
hasPageContentFocus:
select( editSiteStore ).hasPageContentFocus(),
};
Expand Down

0 comments on commit b2f8e11

Please sign in to comment.