From 84ea9006d2c85ef9e1663216b43509cd1c4be708 Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Tue, 23 Jun 2020 15:37:00 -0400 Subject: [PATCH] fix: added key for nav item --- src/components/NavigationItems.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/NavigationItems.js b/src/components/NavigationItems.js index 32134b7bc..2200a5cd5 100644 --- a/src/components/NavigationItems.js +++ b/src/components/NavigationItems.js @@ -44,12 +44,13 @@ const NavigationItems = ({ {showGroup && (
  • {group}
  • )} - {pages.map((page) => ( + {pages.map((page, index) => ( ))} @@ -165,6 +166,9 @@ NavItem.propTypes = { url: PropTypes.string, children: PropTypes.array, }), + filteredPageNames: PropTypes.array, + searchTerm: PropTypes.string, + depthLevel: PropTypes.number, }; export default NavigationItems;