fix: 修复 eslint 报错

This commit is contained in:
LooseLi
2025-05-26 16:51:31 +08:00
parent e65df5aac3
commit 13235b6cdb

View File

@@ -267,12 +267,13 @@ async function convertNotionToSiteDate(pageId, from, pageRecordMap) {
categoryOptions: getCategoryOptions(schema)
})
// 所有标签
const tagSchemaOptions = getTagOptions(schema)
const tagOptions =
getAllTags({
allPages,
tagOptions: getTagOptions(schema),
allPages: allPages ?? [],
tagOptions: tagSchemaOptions ?? [],
NOTION_CONFIG
}) || null
}) ?? null
// 旧的菜单
const customNav = getCustomNav({
allPages: collectionData.filter(