diff --git a/packages/edit-site/src/components/page-templates-template-parts/index.js b/packages/edit-site/src/components/page-templates-template-parts/index.js index f12306f6727ce..3bfc1ecb08a35 100644 --- a/packages/edit-site/src/components/page-templates-template-parts/index.js +++ b/packages/edit-site/src/components/page-templates-template-parts/index.js @@ -35,7 +35,6 @@ import AddNewTemplate from '../add-new-template'; import { useAddedBy } from './hooks'; import { TEMPLATE_POST_TYPE, - TEMPLATE_PART_POST_TYPE, ENUMERATION_TYPE, OPERATOR_IS_ANY, LAYOUT_GRID, @@ -102,11 +101,6 @@ function Title( { item, viewType } ) { canvas: 'edit', }, }; - if ( item.type === TEMPLATE_PART_POST_TYPE ) { - linkProps.state = { - backPath: '/wp_template_part/all', - }; - } return ( { decodeEntities( item.title?.rendered ) || __( '(no title)' ) }