mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
clean code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user