Skip to content

Commit

Permalink
fix: add required to correct page
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jun 23, 2020
1 parent f456b47 commit b8f2403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/NavigationItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,14 @@ const NavItem = ({ page, depthLevel, searchTerm, filteredPageNames }) => {
};

NavigationItems.propTypes = {
pages: PropTypes.array,
pages: PropTypes.array.isRequired,
filteredPageNames: PropTypes.array,
searchTerm: PropTypes.string,
depthLevel: PropTypes.number,
};

NavItem.propTypes = {
page: link.isRequired,
page: link,
filteredPageNames: PropTypes.array,
searchTerm: PropTypes.string,
depthLevel: PropTypes.number,
Expand Down

0 comments on commit b8f2403

Please sign in to comment.