mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
Merge pull request #299 from tangly1024/bug-code-display-incomplete
修复代码显示不完整
This commit is contained in:
@@ -7,7 +7,7 @@ import Image from 'next/image'
|
||||
import Link from 'next/link'
|
||||
|
||||
const Code = dynamic(() =>
|
||||
import('react-notion-x/build/third-party/code').then((m) => m.Code), { ssr: false }
|
||||
import('react-notion-x/build/third-party/code').then((m) => m.Code), { ssr: true }
|
||||
)
|
||||
const Collection = dynamic(() =>
|
||||
import('react-notion-x/build/third-party/collection').then((m) => m.Collection), { ssr: false }
|
||||
|
||||
Reference in New Issue
Block a user