修复代码显示不完整

This commit is contained in:
tlyong1992
2022-06-13 16:35:54 +08:00
parent c197c12383
commit 4f0a6e8d13

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 }