fix/ build

This commit is contained in:
tangly1024.com
2023-06-07 15:47:31 +08:00
parent d98d1f4c4b
commit 93fd5b8fe3
17 changed files with 17 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ const BlogPostListPage = ({ page = 1, posts = [], postCount, siteInfo }) => {
<div className='pt-6'></div>
{/* 文章列表 */}
<div className="pt-4 flex flex-wrap pb-12" >
{posts.map(post => (
{posts?.map(post => (
<div key={post.id} className='xl:w-1/3 md:w-1/2 w-full p-4'> <BlogPostCard index={posts.indexOf(post)} post={post} siteInfo={siteInfo} /></div>
))}
</div>