Skip to content

Commit

Permalink
Rename directSubMenus to childMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
david-szabo97 committed Nov 4, 2020
1 parent 0de18a3 commit 8ea4e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/navigation/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const NavigationContext = createContext( {
getMenu: noop,
addMenu: noop,
removeMenu: noop,
directSubMenus: {},
childMenu: {},
traverseMenu: noop,
isMenuEmpty: noop,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const useCreateNavigationTree = () => {
addMenu( key, value );
},
removeMenu,
directSubMenus: childMenu,
childMenu,
traverseMenu,
isMenuEmpty,
};
Expand Down

0 comments on commit 8ea4e60

Please sign in to comment.