Skip to content

Commit

Permalink
remove next link to fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
souporserious committed May 15, 2024
1 parent c7cbceb commit 31a06a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions site/app/blog/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Link from 'next/Link'
import { allPosts } from 'data'

export default function Page() {
Expand Down Expand Up @@ -26,7 +25,7 @@ export default function Page() {
{allPosts.all().map((post) => {
return (
<li key={post.pathname}>
<Link
<a
href={post.pathname}
style={{
fontSize: 'var(--font-size-heading-2)',
Expand Down Expand Up @@ -78,7 +77,7 @@ export default function Page() {
<p style={{ textDecoration: 'none' }}>
{post.frontMatter.summary}
</p>
</Link>
</a>
</li>
)
})}
Expand Down

0 comments on commit 31a06a2

Please sign in to comment.