From 25934fa4ae22f3d0a6c1722dc4eea93a9c95a336 Mon Sep 17 00:00:00 2001 From: eeseung Date: Sun, 3 Dec 2023 14:34:55 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20#245=20-=20Comment=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=20=EB=8B=B5=EA=B8=80=20=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20replyCount=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Comment/Comment.tsx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/common/Comment/Comment.tsx b/src/components/common/Comment/Comment.tsx index 71ff3dd8..e7a87ca4 100644 --- a/src/components/common/Comment/Comment.tsx +++ b/src/components/common/Comment/Comment.tsx @@ -112,12 +112,18 @@ const Comment = ({ {getElapsedTime(createdAt)} {isRoot && ( <> - {' • '} - + {replyCount > 0 && ( + <> + {' • '} + + + )} {' • '}