Skip to content

Commit

Permalink
Fix error creating from classic in placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Jan 27, 2022
1 parent 4c13f26 commit a591571
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/block-library/src/navigation/edit/placeholder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,14 @@ export default function NavigationPlaceholder( {
onFinish
}
classicMenus={ menus }
onSelectClassicMenu={
convertClassicMenu
onSelectClassicMenu={ ( {
id,
name,
} ) =>
convertClassicMenu(
id,
name
)
}
showClassicMenus={
canUserCreateNavigation
Expand Down

0 comments on commit a591571

Please sign in to comment.