Skip to content

Commit

Permalink
Pass slug arg
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Oct 14, 2022
1 parent 2817c15 commit 3455ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function Navigation( {
} = useCreateNavigationMenu( clientId );

const createUntitledEmptyNavigationMenu = () =>
void createNavigationMenu( '', [], generatedSlug );
void createNavigationMenu( '', [], null, generatedSlug );

useEffect( () => {
hideNavigationMenuStatusNotice();
Expand Down

0 comments on commit 3455ffc

Please sign in to comment.