diff --git a/src/components/school/notification/LastNotifications.tsx b/src/components/school/notification/LastNotifications.tsx index 76105a4..28b9686 100644 --- a/src/components/school/notification/LastNotifications.tsx +++ b/src/components/school/notification/LastNotifications.tsx @@ -24,7 +24,7 @@ const LastNotifications = () => { .then((response) => { const { teacherName, announcements } = response.data; setTeacher(teacherName); - setLastNotiData(announcements); + setLastNotiData(announcements.slice(1)); }) .catch(() => { console.error("All Noti Get Error");