BlogPostCard 去掉tags构造参数

This commit is contained in:
tangly1024
2022-01-06 17:41:46 +08:00
parent 7deaabc1c4
commit b16b3dee59
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ const BlogPostListPage = ({ page = 1, posts = [], tags }) => {
{/* 文章列表 */}
<div className="flex flex-wrap space-y-8 mx-5 md:mx-0">
{postsToShow.map(post => (
<BlogPostCard key={post.id} post={post} tags={tags} />
<BlogPostCard key={post.id} post={post} />
))}
</div>