Skip to content

Commit 30ea276

Browse files
authored
Remove <BlockNavigationEditor /> from navigation-link/edit.js (#22629)
1 parent a271af4 commit 30ea276

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/block-library/src/navigation-link/edit.js

-7
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import {
2929
RichText,
3030
__experimentalLinkControl as LinkControl,
3131
__experimentalBlock as Block,
32-
__experimentalBlockNavigationEditor as BlockNavigationEditor,
3332
} from '@wordpress/block-editor';
3433
import { isURL, prependHTTP } from '@wordpress/url';
3534
import { Fragment, useState, useEffect, useRef } from '@wordpress/element';
@@ -199,12 +198,6 @@ function NavigationLinkEdit( {
199198
/>
200199
</PanelBody>
201200
</InspectorControls>
202-
<BlockNavigationEditor
203-
value={ label }
204-
onChange={ ( labelValue ) =>
205-
setAttributes( { label: labelValue } )
206-
}
207-
/>
208201
<Block.li
209202
className={ classnames( {
210203
'is-editing': isSelected || isParentOfSelectedBlock,

0 commit comments

Comments
 (0)