mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-25 00:31:13 -05:00
Refactor: Hide zero counts in search
This commit is contained in:
@@ -104,7 +104,9 @@ export function ManufacturerCard({ company }: ManufacturerCardProps) {
|
||||
<div className="flex items-center gap-1">
|
||||
<Star className="w-4 h-4 fill-yellow-400 text-yellow-400" />
|
||||
<span className="text-sm font-medium">{company.average_rating.toFixed(1)}</span>
|
||||
<span className="text-xs text-muted-foreground">({company.review_count} reviews)</span>
|
||||
{company.review_count > 0 && (
|
||||
<span className="text-xs text-muted-foreground">({company.review_count} reviews)</span>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user