From c1d618ebba53850c0b09b0735ef0d60ef311afc3 Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Tue, 20 Jun 2023 14:31:29 +0100 Subject: [PATCH] Pass the block to the go to page function (#51699) --- .../leaf-more-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js index da89b3213632d8..c2fbc4ea480ef6 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menus/leaf-more-menu.js @@ -117,7 +117,7 @@ export default function LeafMoreMenu( props ) { { block.attributes?.id && ( { - onGoToPage(); + onGoToPage( block ); onClose(); } } >