From 39e59d22e3c7ee6bc0b96a3545077e8bbc143190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B4=80=EC=8B=9D?= <39869096+gwansikk@users.noreply.github.com> Date: Sun, 7 Apr 2024 23:01:57 +0900 Subject: [PATCH] =?UTF-8?q?refactor(member):=20=EB=A7=88=EC=9D=B4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=82=B4=EC=97=AD=20UI=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0=20(#86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/my/MyHistorySection/MyHistorySection.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/member/src/components/my/MyHistorySection/MyHistorySection.tsx b/apps/member/src/components/my/MyHistorySection/MyHistorySection.tsx index 5297c506..eeb9e3ef 100644 --- a/apps/member/src/components/my/MyHistorySection/MyHistorySection.tsx +++ b/apps/member/src/components/my/MyHistorySection/MyHistorySection.tsx @@ -39,8 +39,7 @@ const MyHistorySection = ({ title, data }: MyHistorySectionProps) => { * λ‚˜μ˜ λŒ“κΈ€ */ if ('boardId' in item) { - const { id, boardId, boardCategory, content, createdAt } = - item as CommentItem; + const { id, boardId, boardCategory, content, createdAt } = item; return ( { {bookTitle}

- {toYYMMDD(borrowedAt || '')} + {toYYMMDD(borrowedAt ?? '')}

);