Преглед на файлове

fetch notification list

kaori преди 4 години
родител
ревизия
d08fe693ba
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      packages/app/src/components/InAppNotification/AllInAppNotifications.tsx

+ 3 - 3
packages/app/src/components/InAppNotification/AllInAppNotifications.tsx

@@ -15,9 +15,9 @@ const AllInAppNotifications: FC<Props> = (props: Props) => {
   const [notifications, setNotifications] = useState([]);
   // const [isLoaded, setIsLoaded] = useState(false);
 
-  // useEffect(() => {
-  //   fetchNotificationStatus();
-  // }, []);
+  useEffect(() => {
+    fetchNotificationList();
+  }, []);
 
 
   /**