forked from crowetic/commerce
Fixes issue with next/dynamic when running next version > 12.0.3 (#618)
Co-authored-by: mdupree <mdupree@acromedia.com>
This commit is contained in:
parent
c057566ba2
commit
4b2df2242c
@ -31,22 +31,31 @@ const dynamicProps = {
|
||||
|
||||
const SignUpView = dynamic(
|
||||
() => import('@components/auth/SignUpView'),
|
||||
dynamicProps
|
||||
{
|
||||
...dynamicProps
|
||||
}
|
||||
)
|
||||
|
||||
const ForgotPassword = dynamic(
|
||||
() => import('@components/auth/ForgotPassword'),
|
||||
dynamicProps
|
||||
{
|
||||
...dynamicProps
|
||||
}
|
||||
)
|
||||
|
||||
const FeatureBar = dynamic(
|
||||
() => import('@components/common/FeatureBar'),
|
||||
dynamicProps
|
||||
{
|
||||
...dynamicProps
|
||||
}
|
||||
)
|
||||
|
||||
const Modal = dynamic(
|
||||
() => import('@components/ui/Modal'),
|
||||
Object.assign(dynamicProps, { ssr: false })
|
||||
{
|
||||
...dynamicProps,
|
||||
ssr: false
|
||||
}
|
||||
)
|
||||
|
||||
interface Props {
|
||||
|
Loading…
x
Reference in New Issue
Block a user