Upgrade nextjs version and fix example (#649)

This commit is contained in:
jeromewu
2023-12-17 10:00:34 +08:00
committed by GitHub
parent 5c1e2242f6
commit 1e1cfbe704
5 changed files with 279 additions and 310 deletions

View File

@@ -0,0 +1,8 @@
import dynamic from 'next/dynamic'
import React from 'react'
const NoSSRWrapper = props => (
<React.Fragment>{props.children}</React.Fragment>
)
export default dynamic(() => Promise.resolve(NoSSRWrapper), {
ssr: false
})