Skip to content

Commit

Permalink
Pass the block to the go to page function
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Jun 20, 2023
1 parent 115e7b1 commit 1a63511
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 1a63511

Please sign in to comment.