Merge pull request #299 from tangly1024/bug-code-display-incomplete

修复代码显示不完整
This commit is contained in:
tangly1024
2022-06-13 16:36:21 +08:00
committed by GitHub

View File

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