diff --git a/pages/page/[page].js b/pages/page/[page].js index 071f7185..5ed48e0f 100644 --- a/pages/page/[page].js +++ b/pages/page/[page].js @@ -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 + } return }