fix: remove comment count if it's reply button (#590)
This commit is contained in:
@@ -122,9 +122,11 @@ export const CommentItem: React.FC<{
|
||||
onClick={() => setReplyOpen(!replyOpen)}
|
||||
>
|
||||
{t(`${replyOpen ? "Cancel " : ""}Reply`)}
|
||||
<span className="ml-1">
|
||||
{(comment as any)?.fromNotes?.count || 0}
|
||||
</span>
|
||||
{!replyOpen && (
|
||||
<span className="ml-1">
|
||||
{(comment as any)?.fromNotes?.count || 0}
|
||||
</span>
|
||||
)}
|
||||
</Button>
|
||||
)}
|
||||
{comment.characterId === account?.characterId && (
|
||||
|
||||
Reference in New Issue
Block a user