Remove debug console logs from review components
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,18 +21,13 @@ export function TestimonialsSection() {
|
||||
}, []);
|
||||
|
||||
const fetchReviews = async () => {
|
||||
console.log('TestimonialsSection fetchReviews called');
|
||||
|
||||
const { data, error } = await supabase
|
||||
const { data } = await supabase
|
||||
.from('reviews')
|
||||
.select('id, rating, title, body, created_at, reviewer_name, profiles!user_id (name)')
|
||||
.eq('is_approved', true)
|
||||
.order('created_at', { ascending: false })
|
||||
.limit(6);
|
||||
|
||||
console.log('TestimonialsSection - Raw data:', data);
|
||||
console.log('TestimonialsSection - Error:', error);
|
||||
|
||||
if (data) {
|
||||
setReviews(data as unknown as Review[]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user