From c7fe4dfed623d0ef64598b4483729d5c42be4102 Mon Sep 17 00:00:00 2001 From: junye0l Date: Tue, 2 Dec 2025 02:21:27 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor=20:=20post-card=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20?= =?UTF-8?q?=ED=81=AC=EA=B8=B0=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/post-card/post-card.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/post-card/post-card.tsx b/src/components/post-card/post-card.tsx index 3b5699f8..68962d93 100644 --- a/src/components/post-card/post-card.tsx +++ b/src/components/post-card/post-card.tsx @@ -70,12 +70,14 @@ const PostCard = ({ {image && ( thumbnail From 1e1bd0e8c996a869f7abefa56048e393df2b013a Mon Sep 17 00:00:00 2001 From: junye0l Date: Tue, 2 Dec 2025 02:31:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?refactor=20:=20=EC=82=AC=EC=9A=A9=EC=9E=90?= =?UTF-8?q?=EA=B0=80=20=EA=B2=8C=EC=8B=9C=EA=B8=80=EC=9D=84=20=EC=A2=8B?= =?UTF-8?q?=EC=95=84=EC=9A=94=20=EB=88=8C=EB=A0=80=EB=8A=94=EC=A7=80?= =?UTF-8?q?=EC=97=90=20=EB=8C=80=ED=95=9C=20UI=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/boards/_components/boards-article-wrapper.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/boards/_components/boards-article-wrapper.tsx b/src/app/boards/_components/boards-article-wrapper.tsx index 910c1d9f..91acad0a 100644 --- a/src/app/boards/_components/boards-article-wrapper.tsx +++ b/src/app/boards/_components/boards-article-wrapper.tsx @@ -17,11 +17,13 @@ const BoardsArticleWrapper = ({ }: BoardsArticleWrapperProps) => { const { data } = useGetArticleDetail(article.id); const content = data?.article?.content || article.title; + const isLiked = data?.article?.isLiked ?? article.isLiked; return (