From 53343067144cbc141754fe45e4045fea417fa49f Mon Sep 17 00:00:00 2001 From: Jacob Homanics Date: Sat, 18 May 2024 03:17:13 -0500 Subject: [PATCH] Update Header.tsx --- packages/nextjs/components/Header.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index f989561..74fbd3d 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -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(); @@ -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",