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

@@ -28,7 +28,7 @@ export default function ArticleRecommend({ recommendPosts, siteInfo }) {
</div>
</div>
<div className="grid grid-cols-2 md:grid-cols-3 gap-4">
{recommendPosts.map(post => {
{recommendposts?.map(post => {
const headerImage = post?.page_cover
? `url("${post.page_cover}")`
: `url("${siteInfo?.pageCover}")`