Skip to content

Commit 4fc7066

Browse files
committed
Fix empty comments shown as deleted comment - resolve velopert#168
(bulk empty comment removal should be done later on)
1 parent 46358de commit 4fc7066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/post/PostCommentItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const PostCommentItem: React.FC<PostCommentItemProps> = ({
202202
) : (
203203
<Typography>
204204
<CommentText deleted={deleted}>
205-
<MarkdownRender markdown={text || '삭제된 댓글입니다.'} />
205+
<MarkdownRender markdown={text ?? '삭제된 댓글입니다.'} />
206206
</CommentText>
207207
</Typography>
208208
)}

0 commit comments

Comments
 (0)