diff --git a/components/common/Layout/Layout.tsx b/components/common/Layout/Layout.tsx index a69cd75368..adf323f2cb 100644 --- a/components/common/Layout/Layout.tsx +++ b/components/common/Layout/Layout.tsx @@ -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 {