diff --git a/packages/edit-post/src/components/secondary-sidebar/list-view-outline.js b/packages/edit-post/src/components/secondary-sidebar/list-view-outline.js index 249d170464a8d0..fd5c5480e59311 100644 --- a/packages/edit-post/src/components/secondary-sidebar/list-view-outline.js +++ b/packages/edit-post/src/components/secondary-sidebar/list-view-outline.js @@ -2,22 +2,10 @@ * WordPress dependencies */ import { useSelect } from '@wordpress/data'; -import { - DocumentOutline, - WordCount, - TimeToRead, - CharacterCount, -} from '@wordpress/editor'; +import { DocumentOutline } from '@wordpress/editor'; import { store as blockEditorStore } from '@wordpress/block-editor'; -import { - __experimentalText as Text, - Path, - SVG, - Line, - Rect, -} from '@wordpress/components'; +import { Path, SVG, Line, Rect } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; -import { useInstanceId } from '@wordpress/compose'; function EmptyOutlineIllustration() { return ( @@ -64,36 +52,8 @@ export default function ListViewOutline() { headingCount: getGlobalBlockCount( 'core/heading' ), }; }, [] ); - const instanceId = useInstanceId( - ListViewOutline, - 'edit-post-editor-list-view-overview-outline' - ); return (
-

{ __( 'Document outline' ) }

- { headingCount > 0 ? ( ) : (