Skip to content

Commit

Permalink
fix: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jun 23, 2020
1 parent af8362c commit 33e59ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NavigationItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const NavigationItems = ({
<li className={cx(styles.navLink, styles.groupName)}>{group}</li>
)}
{pages.map((page) => {
// eslint-disable-next-line react-hooks/rules-of-hooks
const [isExpanded, setIsExpanded] = useState(
isHomePage || crumbs.includes(page.displayName)
);
Expand Down

0 comments on commit 33e59ec

Please sign in to comment.