kaori 4 лет назад
Родитель
Сommit
3d58a5a904
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

+ 1 - 2
packages/app/src/components/PageEditor/InAppNotificationDropdown.tsx

@@ -137,7 +137,7 @@ const InAppNotificationDropdown: FC = (props) => {
     if (isLoaded === true) {
     if (isLoaded === true) {
       return <RenderUnLoadedInAppNotification />;
       return <RenderUnLoadedInAppNotification />;
     }
     }
-    else if (notifications.length = 0){
+    else if (notifications.length = 0) {
       return <RenderEmptyInAppNotification />;
       return <RenderEmptyInAppNotification />;
     }
     }
     return <RenderInAppNotificationList />;
     return <RenderInAppNotificationList />;
@@ -157,7 +157,6 @@ const InAppNotificationDropdown: FC = (props) => {
       </DropdownMenu>
       </DropdownMenu>
     </Dropdown>
     </Dropdown>
   );
   );
-
 };
 };
 
 
 /**
 /**