diff --git a/packages/edit-site/src/components/header-edit-mode/index.js b/packages/edit-site/src/components/header-edit-mode/index.js index 0878cb4faae2d..9b54d1288e54d 100644 --- a/packages/edit-site/src/components/header-edit-mode/index.js +++ b/packages/edit-site/src/components/header-edit-mode/index.js @@ -44,6 +44,7 @@ import { useHasEditorCanvasContainer, } from '../editor-canvas-container'; import { unlock } from '../../private-apis'; +import { isPreviewingTheme } from '../../utils/is-previewing-theme'; const { useShouldContextualToolbarShow } = unlock( blockEditorPrivateApis ); @@ -258,37 +259,47 @@ export default function HeaderEditMode() {