diff --git a/src/common/components/templates/Space.tsx b/src/common/components/templates/Space.tsx
index 23b81940..ed1d62aa 100644
--- a/src/common/components/templates/Space.tsx
+++ b/src/common/components/templates/Space.tsx
@@ -90,7 +90,10 @@ export default function Space({
     });
   }
 
-  const LayoutFidget = LayoutFidgets[config.layoutDetails.layoutFidget];
+  const LayoutFidget =
+    config && config.layoutDetails && config.layoutDetails.layoutConfig
+      ? LayoutFidgets[config.layoutDetails.layoutFidget]
+      : LayoutFidgets["grid"];
 
   return (
     <>