Skip to content

Commit

Permalink
Ran npx @next/codemod new-link . to fix <a> inside of <Link>
Browse files Browse the repository at this point in the history
  • Loading branch information
jontsai committed Nov 14, 2023
1 parent 47fb45a commit eb9ec03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/blog/[seoTitleAndId].js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function Post({ post }) {
},
}}
>
<a>{tag.content}</a>
{tag.content}
</Link>
{index === tags.length - 1
? ''
Expand Down
2 changes: 1 addition & 1 deletion pages/blog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Blog({ posts }) {
},
}}
>
<a>{post.meta.title}</a>
{post.meta.title}
</Link>
<br />
<small>
Expand Down
2 changes: 1 addition & 1 deletion pages/tags/[tagId].js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Tag({ tagId, tagContent, posts }) {
},
}}
>
<a>{post.meta.title}</a>
{post.meta.title}
</Link>
<br />
<small>
Expand Down
2 changes: 1 addition & 1 deletion pages/tags/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Tags({ tags }) {
},
}}
>
<a>{tag.content}</a>
{tag.content}
</Link>
</li>
))}
Expand Down

0 comments on commit eb9ec03

Please sign in to comment.