From 33e59ecc43aa6f2aa57110f497f9b8c0504d67c1 Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Tue, 23 Jun 2020 14:59:14 -0400 Subject: [PATCH] fix: make linter happy --- src/components/NavigationItems.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/NavigationItems.js b/src/components/NavigationItems.js index 3f2c4982b..9e44dce9f 100644 --- a/src/components/NavigationItems.js +++ b/src/components/NavigationItems.js @@ -53,6 +53,7 @@ const NavigationItems = ({
  • {group}
  • )} {pages.map((page) => { + // eslint-disable-next-line react-hooks/rules-of-hooks const [isExpanded, setIsExpanded] = useState( isHomePage || crumbs.includes(page.displayName) );