Skip to content

Commit

Permalink
Add back links to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
backjonas committed Sep 5, 2023
1 parent e5bcc7f commit 9a91dbd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/api/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ export default async function fetchNavbar(): Promise<NavbarLink[]> {
'medlem',
res.data.attributes.private_pages
)
// Temporarily removed links while testing with prod CMS, to be added back
// when links to other pages start using the .links attribute
// return [...categories, ...res.data.attributes.links, privatePages]
return [...categories, privatePages]
return [...categories, ...res.data.attributes.links, privatePages]
}

function toLink(
Expand Down

0 comments on commit 9a91dbd

Please sign in to comment.