Skip to content

Commit

Permalink
MenuGroup wrapped to NavigableMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz_marzencki committed Feb 28, 2021
1 parent 41a4fab commit bc42639
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
MenuItemsChoice,
Card,
CardBody,
NavigableMenu,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';

Expand All @@ -16,7 +17,7 @@ export default function MenuSelector( { onSelectMenu, menus } ) {
<h3 className="edit-navigation-menu-selector__header">
{ __( 'Choose a menu to edit: ' ) }
</h3>
<div className="edit-navigation-menu-selector__body">
<NavigableMenu className="edit-navigation-menu-selector__body">
<MenuGroup>
<MenuItemsChoice
onSelect={ onSelectMenu }
Expand All @@ -26,7 +27,7 @@ export default function MenuSelector( { onSelectMenu, menus } ) {
} ) ) }
/>
</MenuGroup>
</div>
</NavigableMenu>
</CardBody>
</Card>
);
Expand Down

0 comments on commit bc42639

Please sign in to comment.