kaori il y a 4 ans
Parent
commit
9998f7bcff

+ 9 - 10
packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

@@ -134,16 +134,15 @@ const InAppNotificationDropdown: FC = (props) => {
   }
   }
 
 
   function renderInAppNotificationContents(): JSX.Element{
   function renderInAppNotificationContents(): JSX.Element{
-  console.log('isLoadedhoge', isLoaded)
-  if(isLoaded === true){
-    return <RenderUnLoadedInAppNotification />
-  }
-  else if (notifications.length <= 0){
-    return <RenderEmptyInAppNotification />;
-  }
-  else {
-    return <RenderInAppNotificationList />;
-  }
+    if(isLoaded === true){
+      return <RenderUnLoadedInAppNotification />
+    }
+    else if (notifications.length = 0){
+      return <RenderEmptyInAppNotification />;
+    }
+    else {
+      return <RenderInAppNotificationList />;
+    }
   }
   }
 
 
   return (
   return (