diff --git a/src/navigation/Navigation.js b/src/navigation/Navigation.js index 38b5781..ad4fcf4 100644 --- a/src/navigation/Navigation.js +++ b/src/navigation/Navigation.js @@ -1,5 +1,8 @@ import PropTypes from 'prop-types' import React from 'react' + +//step 1 import the menu library +import { Menu, MenuItem } from '@dhis2/ui' // @TODO: Import the `Menu` and `MenuItem` components import { useNavigate, useMatch } from 'react-router-dom' @@ -17,7 +20,8 @@ const NavigationItem = ({ path, label }) => { const onClick = () => navigate(path) // @TODO: Use the `MenuItem` component instead of the `div` - return