Skip to content

Commit

Permalink
refactor: use <Link> instead of <a>
Browse files Browse the repository at this point in the history
  • Loading branch information
peritpatrio committed Nov 19, 2024
1 parent cb3579e commit 79be4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Nav() {
<Wrapper>
<div className="relative flex items-center justify-between py-5 sm:px-6 md:px-12">
<div className="shrink-0">
<a href="/">
<Link href="/">
<img
src="/koodiklinikka-logo.svg"
alt="Koodiklinikka"
Expand All @@ -35,7 +35,7 @@ export default function Nav() {
className="w-40"
loading="eager"
/>
</a>
</Link>
</div>
<div ref={navRef} className="relative">
<button
Expand Down

0 comments on commit 79be4c4

Please sign in to comment.