Skip to content

Commit

Permalink
fix: updated link type
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwine36 committed Sep 17, 2024
1 parent f06afa6 commit c10c00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/sample-nextjs/src/components/Navigation/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Link from 'next/link';
import styles from './index.module.css';

const pages = [
{ name: 'Home', href: '/' },
{ name: 'Draw', href: '/draw' },
Expand All @@ -11,7 +11,7 @@ export const Navigation = () => {
<ul>
{pages.map((page) => (
<li key={page.href}>
<a href={page.href}>{page.name}</a>
<Link href={page.href}>{page.name}</Link>
</li>
))}
</ul>
Expand Down

0 comments on commit c10c00b

Please sign in to comment.