Refactor: Implement type safety plan

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 14:35:15 +00:00
parent 921abb63a1
commit 0db54b402b
12 changed files with 290 additions and 38 deletions

View File

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