mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2026-04-04 11:48:22 -04:00
Fix feature path catch blocks
This commit is contained in:
@@ -91,7 +91,7 @@ export function ContentTabs() {
|
||||
setRecentRides(recentRidesData || []);
|
||||
setRecentChanges(processedChanges);
|
||||
setRecentlyOpened(combinedOpened);
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
console.error('Error fetching content:', error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user