From a8f6a9d45cc6e99e703fa5b2f34def2d1d3066d7 Mon Sep 17 00:00:00 2001 From: Luis Orbaiceta <44276180+luisorbaiceta@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:57:40 +0200 Subject: [PATCH] fix: remove spread operator --- components/common/Layout/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/Layout/Layout.tsx b/components/common/Layout/Layout.tsx index 5a75e1fbc..097158bc8 100644 --- a/components/common/Layout/Layout.tsx +++ b/components/common/Layout/Layout.tsx @@ -44,7 +44,7 @@ const FeatureBar = dynamic( const Modal = dynamic( () => import('@components/interface/Modal'), - {...dynamicProps, ssr: false} + Object.assign(dynamicProps, {ssr: false}) ) interface Props {