소스 검색

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