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