mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 03:11:12 -05:00
Refactor: Hide zero counts in search
This commit is contained in:
@@ -90,7 +90,9 @@ export function DesignerCard({ company }: DesignerCardProps) {
|
||||
<div className="flex items-center gap-2">
|
||||
<Star className="w-3 h-3 text-yellow-500 fill-yellow-500 flex-shrink-0" />
|
||||
<span className="font-medium">{company.average_rating.toFixed(1)}</span>
|
||||
<span className="text-muted-foreground">({company.review_count} reviews)</span>
|
||||
{company.review_count > 0 && (
|
||||
<span className="text-muted-foreground">({company.review_count} reviews)</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user