kaori 4 лет назад
Родитель
Сommit
467ab0eac3

+ 0 - 1
packages/app/src/components/InAppNotification/AllInAppNotifications.tsx

@@ -12,7 +12,6 @@ type Props = {
 };
 
 const AllInAppNotifications: FC<Props> = (props: Props) => {
-  // const [notifications, setNotifications] = useState([]);
   const limit = 6;
   const { data: inAppNotificationData } = useSWRxInAppNotifications(limit);
 

+ 0 - 7
packages/app/src/components/InAppNotification/InAppNotificationList.tsx

@@ -34,13 +34,6 @@ const InAppNotificationList: FC<Props> = (props: Props) => {
     }
   };
 
-  // TODO: improve view of loading icon by #80669
-  const RenderUnLoadedInAppNotification = (): JSX.Element => {
-    return (
-      <i className="fa fa-spinner"></i>
-    );
-  };
-
   const RenderEmptyInAppNotification = (): JSX.Element => {
     return (
       // TODO: apply i18n by #78569