diff --git a/components/admin/notification/NotificationTable.tsx b/components/admin/notification/NotificationTable.tsx index bdb5c0bb1..71b6ca521 100644 --- a/components/admin/notification/NotificationTable.tsx +++ b/components/admin/notification/NotificationTable.tsx @@ -31,7 +31,11 @@ interface INotificaionTable { } export default function NotificationTable() { - const [notificationInfo, setNotificationInfo] = useState(); + const [notificationInfo, setNotificationInfo] = useState({ + notiList: [], + totalPage: 0, + currentPage: 0, + }); const [currentPage, setCurrentPage] = useState(1); const [intraId, setIntraId] = useState('');