From f59bf203e842686d38f7e0d9a3c4b7ee119178c5 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 2 Feb 2024 11:45:40 +0800 Subject: [PATCH] clean code --- components/NotionPage.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/NotionPage.js b/components/NotionPage.js index 58153fbd..b3be2174 100644 --- a/components/NotionPage.js +++ b/components/NotionPage.js @@ -7,13 +7,6 @@ import { isBrowser } from '@/lib/utils' import { siteConfig } from '@/lib/config' import { NotionRenderer } from 'react-notion-x' -// Notion渲染 -// const NotionRenderer = dynamic(() => import('react-notion-x').then(async (m) => { -// return m.NotionRenderer -// }), { -// ssr: false -// }) - const Code = dynamic(() => import('react-notion-x/build/third-party/code').then(async (m) => { return m.Code