mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
build: 修复编译问题
This commit is contained in:
@@ -2,8 +2,12 @@ import BLOG from '@/blog.config'
|
||||
import { getPostBlocks } from '@/lib/notion'
|
||||
import { getGlobalNotionData } from '@/lib/notion/getNotionData'
|
||||
import { LayoutPage } from '@/themes'
|
||||
import Custom404 from '@/pages/404'
|
||||
|
||||
const Page = (props) => {
|
||||
if (!props?.meta) {
|
||||
return <Custom404 />
|
||||
}
|
||||
return <LayoutPage {...props} />
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user