Skip to content

Commit

Permalink
fix: remove console statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Cayla Hamann committed Jun 22, 2020
1 parent a0f8a06 commit 99142a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ const NavigationItems = ({
};
}, {});

console.log(Boolean(filteredPageNames));

return Object.entries(groupedPages).map(([group, pages]) => {
const showGroup =
(group && !Boolean(filteredPageNames)) ||
(group && !filteredPageNames) ||
(group &&
filteredPageNames &&
pages.some((el) => filteredPageNames.includes(el.displayName)));
Expand Down

0 comments on commit 99142a2

Please sign in to comment.