mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-09 15:10:39 +00:00
fix: 修复 eslint 报错
This commit is contained in:
@@ -267,12 +267,13 @@ async function convertNotionToSiteDate(pageId, from, pageRecordMap) {
|
|||||||
categoryOptions: getCategoryOptions(schema)
|
categoryOptions: getCategoryOptions(schema)
|
||||||
})
|
})
|
||||||
// 所有标签
|
// 所有标签
|
||||||
|
const tagSchemaOptions = getTagOptions(schema)
|
||||||
const tagOptions =
|
const tagOptions =
|
||||||
getAllTags({
|
getAllTags({
|
||||||
allPages,
|
allPages: allPages ?? [],
|
||||||
tagOptions: getTagOptions(schema),
|
tagOptions: tagSchemaOptions ?? [],
|
||||||
NOTION_CONFIG
|
NOTION_CONFIG
|
||||||
}) || null
|
}) ?? null
|
||||||
// 旧的菜单
|
// 旧的菜单
|
||||||
const customNav = getCustomNav({
|
const customNav = getCustomNav({
|
||||||
allPages: collectionData.filter(
|
allPages: collectionData.filter(
|
||||||
|
|||||||
Reference in New Issue
Block a user