Skip to content

Commit

Permalink
Fix type error (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Djo1e committed Apr 19, 2023
1 parent 2bcc1ca commit d96143f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ function useLinks() {
name: "Početna",
route: routes.home,
active: router.asPath === routes.home,
Icon: undefined,
},
{
name: "Podcast",
route: routes.podcast,
active: router.asPath.includes(routes.podcast),
Icon: undefined,
},
{
name: "Sastanci",
Expand All @@ -34,6 +36,7 @@ function useLinks() {
name: "Blog",
route: routes.blog,
active: router.asPath.includes(routes.blog),
Icon: undefined,
},
] as const;
}
Expand Down

0 comments on commit d96143f

Please sign in to comment.