Skip to content

Commit

Permalink
Pass the block to the go to page function (#51699)
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored Jun 20, 2023
1 parent e59ccad commit c1d618e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function LeafMoreMenu( props ) {
{ block.attributes?.id && (
<MenuItem
onClick={ () => {
onGoToPage();
onGoToPage( block );
onClose();
} }
>
Expand Down

0 comments on commit c1d618e

Please sign in to comment.