Skip to content

Commit

Permalink
Update Header.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobHomanics committed May 18, 2024
1 parent 345eaa1 commit 5334306
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/nextjs/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ type HeaderMenuLink = {
icon?: React.ReactNode;
};

export const menuLinks: HeaderMenuLink[] = [
{
label: "Home",
href: "/",
},
];
export const menuLinks: HeaderMenuLink[] = [];

export const HeaderMenuLinks = () => {
const pathname = usePathname();
Expand Down Expand Up @@ -91,6 +86,11 @@ export const Header = () => {
const linksToAdd: any = [];

if (location?.hostname === "localhost" || location?.hostname === "127.0.0.1") {
linksToAdd.push({
label: "Home",
href: "/",
});

linksToAdd.push({
label: "Roles",
href: "/hats",
Expand Down

0 comments on commit 5334306

Please sign in to comment.