From 947830904239d51ec9e94971fed6346c1089911f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Mon, 23 Jan 2023 19:01:28 +0100
Subject: chore: make Links and Images compliant with Next.js 13

---
 src/components/atoms/links/nav-link.tsx | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'src/components/atoms/links/nav-link.tsx')

diff --git a/src/components/atoms/links/nav-link.tsx b/src/components/atoms/links/nav-link.tsx
index 7c6fede..66ee570 100644
--- a/src/components/atoms/links/nav-link.tsx
+++ b/src/components/atoms/links/nav-link.tsx
@@ -24,11 +24,9 @@ export type NavLinkProps = {
  */
 const NavLink: FC<NavLinkProps> = ({ href, label, logo }) => {
   return (
-    <Link href={href}>
-      <a className={styles.link}>
-        {logo}
-        {label}
-      </a>
+    <Link className={styles.link} href={href}>
+      {logo}
+      {label}
     </Link>
   );
 };
-- 
cgit v1.2.3

