Skip to content

Commit

Permalink
Merge pull request #145 from Kusitms-29th-ASAP/fix/#140
Browse files Browse the repository at this point in the history
[Fix] 지난 알림장에서 오늘 알림장 내용 제거
  • Loading branch information
yyypearl authored Sep 3, 2024
2 parents e73162e + 08ebb31 commit 6575f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/school/notification/LastNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 6575f81

Please sign in to comment.