From d42b4c1ec44de9a86c5c6908c9b18048fdf72055 Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Wed, 24 Jun 2020 11:17:34 -0400 Subject: [PATCH] fix: required prop --- src/components/NavigationItems.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NavigationItems.js b/src/components/NavigationItems.js index b48533224..ae5cb1323 100644 --- a/src/components/NavigationItems.js +++ b/src/components/NavigationItems.js @@ -165,7 +165,7 @@ NavItem.propTypes = { page: link, filteredPageNames: PropTypes.array, searchTerm: PropTypes.string, - depthLevel: PropTypes.number, + depthLevel: PropTypes.number.isRequired, }; export default NavigationItems;