mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
fix/build
This commit is contained in:
@@ -171,7 +171,7 @@ function TopGroup(props) {
|
||||
break
|
||||
}
|
||||
// 查找标签
|
||||
if (post.tags.indexOf(CONFIG.HERO_RECOMMEND_POST_TAG) >= 0) {
|
||||
if (post?.tags?.indexOf(CONFIG.HERO_RECOMMEND_POST_TAG) >= 0) {
|
||||
topPosts.push(post)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user