fix: add req props

This commit is contained in:
log101 2024-05-12 07:55:58 +03:00
parent 65ebab416f
commit 7bb712802d

View File

@ -17,7 +17,7 @@ const allTeknikPosts = await getCollection("blog");
{
allTeknikPosts
.sort((p1, p2) => p2.data.date.getTime() - p1.data.date.getTime())
.map((p) => <Post data={p.data} />)
.map((p) => <Post post={p} componentType="short" />)
}
</div>
<a class="home-all-posts" href="#">Tüm Yayınlar</a>