mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
fix: 修复 eslint 报错
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user