From decaa8227e9f0e828b8e3a93faa2129aa2be08c2 Mon Sep 17 00:00:00 2001 From: daejlee Date: Tue, 10 Dec 2024 17:54:28 +0900 Subject: [PATCH] Feat: Remove survey --- src/components/announcement/Announcements.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/announcement/Announcements.tsx b/src/components/announcement/Announcements.tsx index d3f289e..95b00a5 100644 --- a/src/components/announcement/Announcements.tsx +++ b/src/components/announcement/Announcements.tsx @@ -8,7 +8,6 @@ import { import { useEffect, useState } from 'react'; import announcementApi from '@/api/announcementApi'; import { Announcement } from '@/types/Announcement'; -import SurveyLink from '@/components/announcement/SurveyLink'; export default function Announcements({ dummyAnnouncement }: { dummyAnnouncement?: Announcement }) { // 리렌더링 시 다시 API 받아오지 않도록 메모이제이션 할까 싶다 @@ -35,7 +34,6 @@ export default function Announcements({ dummyAnnouncement }: { dummyAnnouncement className="max-h-60 w-48 overflow-auto rounded-none p-0 md:max-h-80 md:w-64" align="end" > - {announcements.length === 0 ? '공지사항이 없습니다.' : announcements.map((announcement) => (