Skip to content

Commit

Permalink
hides product in nav
Browse files Browse the repository at this point in the history
  • Loading branch information
FlacoJones committed Jun 23, 2023
1 parent 2d42ec0 commit 0b152bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions components/Layout/NavLinks/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ const NavLinks = ({ setOpenMenu, appState }) => {
>
<span> Good First Issues</span>
</Link>
<Link onClick={() => setOpenMenu(false)} href={'/product'} className={`nav-link text-white hover:text-gray-300`}>
<span> Product</span>
</Link>
{!accountData.id && (
<>
<Link onClick={() => setOpenMenu(false)} href={'/login'} className={`nav-link md:hidden`}>
Expand Down
6 changes: 0 additions & 6 deletions pages/product.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,3 @@ const Home = () => {
};

export default Home;

export async function getServerSideProps() {
return {
notFound: true
};
}

0 comments on commit 0b152bf

Please sign in to comment.