Skip to content

Commit

Permalink
get getRenderingMode from correct store
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Oct 22, 2024
1 parent 2effcf0 commit fab4530
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ function ContentOnlySettingsMenuItems( { clientId, onClose } ) {
getBlockAttributes( patternParent ).ref
);
} else {
const { getCurrentTemplateId } = select( editorStore );
const { getCurrentTemplateId, getRenderingMode } =
select( editorStore );
const templateId = getCurrentTemplateId();
const { getContentLockingParent, getRenderingMode } = unlock(
const { getContentLockingParent } = unlock(
select( blockEditorStore )
);
if (
Expand Down

0 comments on commit fab4530

Please sign in to comment.