{topCommentId && profitById[topCommentId] > 0 && (
<>
{commentsById[topCommentId].userName} made{' '}
{formatMoney(profitById[topCommentId] || 0)}!
>
)}
{/* If they're the same, only show the comment; otherwise show both */}
{topBettor && topBetId !== topCommentId && profitById[topBetId] > 0 && (
<>
{topBettor?.name} made {formatMoney(profitById[topBetId] || 0)}!
>
)}
)
}