diff --git a/packages/editor/src/hooks/template-part-navigation-edit-button.js b/packages/editor/src/hooks/template-part-navigation-edit-button/index.js similarity index 88% rename from packages/editor/src/hooks/template-part-navigation-edit-button.js rename to packages/editor/src/hooks/template-part-navigation-edit-button/index.js index 99a406140676a6..3508e059b289cc 100644 --- a/packages/editor/src/hooks/template-part-navigation-edit-button.js +++ b/packages/editor/src/hooks/template-part-navigation-edit-button/index.js @@ -9,11 +9,7 @@ import { BlockControls, store as blockEditorStore, } from '@wordpress/block-editor'; -import { - ToolbarButton, - ToolbarGroup, - __experimentalDivider as Divider, -} from '@wordpress/components'; +import { ToolbarButton, ToolbarGroup } from '@wordpress/components'; import { useSelect, useDispatch } from '@wordpress/data'; import { store as interfaceStore } from '@wordpress/interface'; @@ -97,14 +93,7 @@ function TemplatePartNavigationEditButton( { clientId } ) { return ( - - { /* - * Add a vertical divider to visually separate the "Edit navigation" - * button from the template part's "Edit" button. Both buttons share - * the same toolbar group ("other"), so without this divider they - * would appear directly adjacent with no visual separation. - */ } - +