We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0ba798 commit 56e74beCopy full SHA for 56e74be
1 file changed
src/components/comment-card.tsx
@@ -279,9 +279,7 @@ export function CommentCard({
279
<MessageCircle className="h-4 w-4 text-zinc-500 dark:text-zinc-400" />
280
<span className="text-xs font-medium text-zinc-600 dark:text-zinc-400">
281
{commentWithReplies.replies?.length
282
- ? commentWithReplies.replies?.length === 1
283
- ? "Reply"
284
- : "Replies"
+ ? `${commentWithReplies.replies?.length} ${commentWithReplies.replies?.length === 1 ? "Reply" : "Replies"}`
285
: "Reply"}
286
</span>
287
</Button>
0 commit comments