From f7a5f9b2b5a403db0763a72d81b5c7d246c0376c Mon Sep 17 00:00:00 2001 From: wlals Date: Mon, 5 Aug 2024 09:28:07 +0900 Subject: [PATCH] fix :: optional --- src/components/Main/ApplyandNotice.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Main/ApplyandNotice.tsx b/src/components/Main/ApplyandNotice.tsx index 300c7f0..d60df84 100644 --- a/src/components/Main/ApplyandNotice.tsx +++ b/src/components/Main/ApplyandNotice.tsx @@ -126,7 +126,7 @@ const ApplyandNotice = () => { <_MainNotificationText>신입생 전형 요강 PDF 파일 다운로드 <_Img src={Download2} /> - {data.notices.length > 0 && + {data?.notices.length > 0 && data?.notices.map((notice: { title: string; createdAt: string; id: string }, index: number) => { if (index >= 4) return;