|
@@ -18,17 +18,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 #78557
|
|
|
|
|
- // _id: '1',
|
|
|
|
|
- // user: 'kaori1',
|
|
|
|
|
- // targetModel: 'Page',
|
|
|
|
|
- // target: 'hogePage',
|
|
|
|
|
- // action: 'COMMENT',
|
|
|
|
|
- // status: 'hoge',
|
|
|
|
|
- // actionUsers: ['taro', 'yamada'],
|
|
|
|
|
- // createdAt: 'hoge',
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ // 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',
|
|
|
|
|
+ },
|
|
|
]);
|
|
]);
|
|
|
const [isOpen, setIsOpen] = useState(false);
|
|
const [isOpen, setIsOpen] = useState(false);
|
|
|
|
|
|