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

@@ -120,7 +120,7 @@ export function ReviewForm({
setRating(0);
setPhotos([]);
onReviewSubmitted();
} catch (error) {
} catch (error: unknown) {
console.error('Error submitting review:', error);
toast({
title: "Error",

View File

@@ -62,7 +62,7 @@ export function ReviewsList({ entityType, entityId, entityName }: ReviewsListPro
const { data } = await query;
setReviews((data || []) as ReviewWithProfile[]);
} catch (error) {
} catch (error: unknown) {
console.error('Error fetching reviews:', error);
} finally {
setLoading(false);