mirasim's picture
Add the tasks, judges, harness, app under test, docs and report; merge the repository README into the card (part 4)
714ed7b verified
Raw History Blame Contribute Delete
220 Bytes
import { pluralize } from "../utils/format";
export function CommentCount({ count }: { count: number }) {
if (count === 0) return null;
return <span className="comment-count">{pluralize(count, "comment")}</span>;
}