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

+ 10 - 12
packages/app/src/components/InAppNotification/InAppNotificationDropdown.tsx

@@ -17,19 +17,17 @@ const InAppNotificationDropdown: FC = (props) => {
 
 
   const [count, setCount] = useState(0);
   const [count, setCount] = useState(0);
   const [isLoaded, setIsLoaded] = useState(false);
   const [isLoaded, setIsLoaded] = useState(false);
-  const [notifications, setNotifications] = useState<IInAppNotification[]>([
-    {
+  const [notifications, setNotifications] = useState<IInAppNotification[]>([{
     // This is dummy notification data. Delete it after fetching notification list by #78756
     // This is dummy notification data. Delete it after fetching notification list by #78756
-      _id: '1',
-      user: 'kaori1',
-      targetModel: 'Page',
-      target: 'hogePage',
-      action: 'COMMENT',
-      status: 'hoge',
-      actionUsers: ['taro', 'yamada'],
-      createdAt: 'hoge',
-    },
-  ]);
+    _id: '1',
+    user: 'kaori1',
+    targetModel: 'Page',
+    target: 'hogePage',
+    action: 'COMMENT',
+    status: 'hoge',
+    actionUsers: ['taro', 'yamada'],
+    createdAt: 'hoge',
+  }]);
   const [isOpen, setIsOpen] = useState(false);
   const [isOpen, setIsOpen] = useState(false);
 
 
   useEffect(() => {
   useEffect(() => {