diff --git a/packages/block-library/src/navigation/edit.js b/packages/block-library/src/navigation/edit.js
index 99adf28132389b..46ec973e7dbbf1 100644
--- a/packages/block-library/src/navigation/edit.js
+++ b/packages/block-library/src/navigation/edit.js
@@ -78,29 +78,24 @@ function Navigation( {
clientId
);
- const innerBlocksProps = useInnerBlocksProps(
- {
- className: 'wp-block-navigation__container',
- },
- {
- allowedBlocks: ALLOWED_BLOCKS,
- orientation: attributes.orientation || 'horizontal',
- renderAppender:
- ( isImmediateParentOfSelectedBlock &&
- ! selectedBlockHasDescendants ) ||
- isSelected
- ? InnerBlocks.DefaultAppender
- : false,
- __experimentalAppenderTagName: 'li',
- __experimentalCaptureToolbars: true,
- // Template lock set to false here so that the Nav
- // Block on the experimental menus screen does not
- // inherit templateLock={ 'all' }.
- templateLock: false,
- __experimentalLayout: LAYOUT,
- placeholder: ,
- }
- );
+ const innerBlocksProps = useInnerBlocksProps( blockProps, {
+ allowedBlocks: ALLOWED_BLOCKS,
+ orientation: attributes.orientation || 'horizontal',
+ renderAppender:
+ ( isImmediateParentOfSelectedBlock &&
+ ! selectedBlockHasDescendants ) ||
+ isSelected
+ ? InnerBlocks.DefaultAppender
+ : false,
+ __experimentalAppenderTagName: 'li',
+ __experimentalCaptureToolbars: true,
+ // Template lock set to false here so that the Nav
+ // Block on the experimental menus screen does not
+ // inherit templateLock={ 'all' }.
+ templateLock: false,
+ __experimentalLayout: LAYOUT,
+ placeholder: ,
+ } );
if ( isPlaceholderShown ) {
return (
@@ -166,15 +161,13 @@ function Navigation( {
) }
-