We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6ca58 commit 8b00612Copy full SHA for 8b00612
src/components/homepage/BlogPosts.astro
@@ -21,12 +21,12 @@ const maxposts = 3;
21
.sort((a, b) => b.data.publishDate.getTime() - a.data.publishDate.getTime())
22
.slice(0,maxposts)
23
.map((post) => {
24
+ // Only pass props that match the expected Props interface
25
return (
26
<NEWBlogPostCard
27
href={post.slug}
28
title={post.data.title}
29
description={post.data.description}
- author={post.data.author}
30
publishDate={post.data.publishDate}
31
cover={post.data.cover}
32
coverAlt={post.data.coverAlt}
0 commit comments