Fix feature path catch blocks

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 16:01:45 +00:00
parent dcd5c9890b
commit 29fb04d03d
20 changed files with 42 additions and 40 deletions

View File

@@ -41,7 +41,7 @@ export function FeaturedParks() {
setTopRatedParks(topRated || []);
setMostRidesParks(mostRides || []);
} catch (error) {
} catch (error: unknown) {
console.error('Error fetching featured parks:', error);
} finally {
setLoading(false);