Yuken Tezuka 3 anni fa
parent
commit
9e0e4fedc7

+ 8 - 0
packages/app/src/components/Admin/Customize/CustomizeLayoutSetting.tsx

@@ -42,6 +42,14 @@ const CustomizeLayoutSetting = (): JSX.Element => {
     }
   }, [isContainerFluid, updateLayoutSetting, t]);
 
+  if (isContainerFluid == null) {
+    return (
+      <div className="text-muted text-center">
+        <i className="fa fa-2x fa-spinner fa-pulse"></i>
+      </div>
+    );
+  }
+
   return (
     <React.Fragment>
       <div className="row">