diff --git a/src/components/main/MainContents.jsx b/src/components/main/MainContents.jsx index ee9d1ab4..ba9a8d77 100644 --- a/src/components/main/MainContents.jsx +++ b/src/components/main/MainContents.jsx @@ -112,26 +112,34 @@ export default function MainContents({ objectList, businessCharger, businessChar
-
{dayjs(recentNoticeList[0]?.regDt).format('YYYY.MM.DD')}
-
{recentNoticeList[0]?.title}
-
{recentNoticeList[0]?.contents}
+ {recentNoticeList.length > 0 ? ( + <> +
{dayjs(recentNoticeList[0]?.regDt).format('YYYY.MM.DD')}
+
{recentNoticeList[0]?.title}
+
{recentNoticeList[0]?.contents}
+ + ) : null}