Skip to content

Commit

Permalink
chore: hide pages in drawer (freeCodeCamp#339)
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Eyton-Williams <[email protected]>
  • Loading branch information
Sembauke and ojeytonwilliams authored Nov 20, 2023
1 parent 520e88a commit a693763
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/frontend/src/components/nav-menu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
faBars,
faChevronDown,
faFileLines,
faNewspaper,
faTags,
faUser,
faUsers,
Expand Down Expand Up @@ -103,7 +102,6 @@ const NavMenuContent = ({ user, onClose, ...rest }) => {
<NavMenuLink text="Posts" icon={faFileLines} link="/posts" />
{isEditor(user) && (
<>
<NavMenuLink text="Pages" icon={faNewspaper} link="/pages" />
<NavMenuLink text="Tags" icon={faTags} link="/tags" />
<NavMenuLink text="Staff" icon={faUsers} link="/users" />
</>
Expand Down

0 comments on commit a693763

Please sign in to comment.