mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 17:11:13 -05:00
Refactor: Implement type safety plan
This commit is contained in:
@@ -61,7 +61,7 @@ export function SimilarRides({ currentRideId, parkId, parkSlug, category }: Simi
|
||||
.limit(4);
|
||||
|
||||
if (!error && data) {
|
||||
setRides(data as SimilarRide[]);
|
||||
setRides(data);
|
||||
}
|
||||
setLoading(false);
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export function SimilarRides({ currentRideId, parkId, parkSlug, category }: Simi
|
||||
{rides.map((ride) => (
|
||||
<RideCard
|
||||
key={ride.id}
|
||||
ride={ride as SimilarRide}
|
||||
ride={ride}
|
||||
showParkName={false}
|
||||
parkSlug={parkSlug}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user