diff --git a/packages/edit-site/src/components/header/index.js b/packages/edit-site/src/components/header/index.js index 6532a7fe31b11..867dc74ed1d15 100644 --- a/packages/edit-site/src/components/header/index.js +++ b/packages/edit-site/src/components/header/index.js @@ -2,7 +2,11 @@ * WordPress dependencies */ import { useCallback } from '@wordpress/element'; -import { BlockNavigationDropdown, ToolSelector } from '@wordpress/block-editor'; +import { + BlockNavigationDropdown, + ToolSelector, + Inserter, +} from '@wordpress/block-editor'; import { PinnedItems } from '@wordpress/interface'; /** @@ -14,6 +18,8 @@ import MoreMenu from './more-menu'; import TemplateSwitcher from '../template-switcher'; import SaveButton from '../save-button'; +const inserterToggleProps = { isPrimary: true }; + export default function Header() { const { settings, setSettings } = useEditorContext(); const setActiveTemplateId = useCallback( @@ -47,6 +53,11 @@ export default function Header() {