Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsalem401 committed Nov 30, 2023
1 parent bb63f19 commit 3e61c41
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/nextjs-blog/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ export default function Home({ posts }) {
<h2>Blog Posts</h2>
<ul>
{posts.map((post) => (
<li key={post._id}>
<Link href={`/blog/${post.url_path}`}>
<h3>{post.metadata.title}</h3>
</Link>
<li>
<h3>{post.metadata.title}</h3>
</li>
))}
</ul>
Expand Down

0 comments on commit 3e61c41

Please sign in to comment.