Skip to content

Commit

Permalink
chore: use NextLink in footer link lists (#2963)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes authored Jan 8, 2025
1 parent 1424d5d commit fc5261a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/_components/src/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ const LinkList = (links: LinkListItemProps[]) => {
<ul className={classes.links}>
{links.map((item, index) => (
<li key={index}>
<Link href={item.url} data-color='neutral' className={classes.link}>
{item.prefix}
{item.text}
<Link data-color='neutral' className={classes.link} asChild>
<NextLink href={item.url}>
{item.prefix}
{item.text}
</NextLink>
</Link>
</li>
))}
Expand Down

0 comments on commit fc5261a

Please sign in to comment.