From 723a02bd8be2f5ceb5d231d85c54641de789330e Mon Sep 17 00:00:00 2001 From: scruffian Date: Fri, 17 Feb 2023 22:23:38 +0000 Subject: [PATCH] Navigation: Don't create duplicate navigation menus --- .../block-library/src/navigation/edit/unsaved-inner-blocks.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/navigation/edit/unsaved-inner-blocks.js b/packages/block-library/src/navigation/edit/unsaved-inner-blocks.js index bb23db9c3bc8d9..f83f29621579b1 100644 --- a/packages/block-library/src/navigation/edit/unsaved-inner-blocks.js +++ b/packages/block-library/src/navigation/edit/unsaved-inner-blocks.js @@ -146,7 +146,6 @@ export default function UnsavedInnerBlocks( { createNavigationMenu( null, blocks ); }, [ - blocks, createNavigationMenu, isDisabled, isSaving,