-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the new deleteEntityRecord to delete menus (#22428)
* adds delete menu with entity delete * updates the delete and removes the stateMenus * passes the new force query param * fix bug with resetting current menu after delete
- Loading branch information
1 parent
98ea4a8
commit d55f893
Showing
2 changed files
with
12 additions
and
31 deletions.
There are no files selected for viewing
15 changes: 2 additions & 13 deletions
15
packages/edit-navigation/src/components/delete-menu-button/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters