diff --git a/packages/block-library/src/template-part/edit/index.js b/packages/block-library/src/template-part/edit/index.js index e3401ceb9ffc71..c6936a83c5e56e 100644 --- a/packages/block-library/src/template-part/edit/index.js +++ b/packages/block-library/src/template-part/edit/index.js @@ -7,7 +7,7 @@ import { BlockControls, __experimentalBlock as Block, } from '@wordpress/block-editor'; -import { Dropdown, Button } from '@wordpress/components'; +import { Dropdown, ToolbarButton } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { chevronUp, chevronDown } from '@wordpress/icons'; @@ -81,11 +81,14 @@ export default function TemplatePartEdit( { contentClassName="wp-block-template-part__preview-dropdown-content" position="bottom right left" renderToggle={ ( { isOpen, onToggle } ) => ( -