Przeglądaj źródła

fetch notification list

kaori 4 lat temu
rodzic
commit
d08fe693ba

+ 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();
+  }, []);
 
 
   /**