build: 修复编译问题

This commit is contained in:
tangly1024
2022-01-15 22:17:19 +08:00
parent cb97fb7b52
commit c263396e66

View File

@@ -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} />
}