mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 16:11:12 -05:00
Fix ride display for rides without inversions
This commit is contained in:
@@ -334,7 +334,7 @@ export default function RideDetail() {
|
|||||||
</Card>
|
</Card>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{ride.inversions && ride.inversions > 0 && (
|
{ride.inversions !== null && ride.inversions !== undefined && (
|
||||||
<Card>
|
<Card>
|
||||||
<CardContent className="p-4 text-center">
|
<CardContent className="p-4 text-center">
|
||||||
<RotateCcw className="w-6 h-6 text-accent mx-auto mb-2" />
|
<RotateCcw className="w-6 h-6 text-accent mx-auto mb-2" />
|
||||||
|
|||||||
Reference in New Issue
Block a user