Add moderation queue tables

This commit is contained in:
gpt-engineer-app[bot]
2025-09-28 18:06:00 +00:00
parent 64c29348ce
commit ff5d7ebea6
11 changed files with 1542 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import { Badge } from '@/components/ui/badge';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
import { Star, ThumbsUp, Calendar, MapPin } from 'lucide-react';
import { supabase } from '@/integrations/supabase/client';
import { ReportButton } from '@/components/moderation/ReportButton';
interface ReviewWithProfile {
id: string;
@@ -185,6 +186,12 @@ export function ReviewsList({ entityType, entityId, entityName }: ReviewsListPro
<ThumbsUp className="w-3 h-3" />
<span>{review.helpful_votes} helpful</span>
</div>
<ReportButton
entityType="review"
entityId={review.id}
className="text-xs"
/>
</div>
</div>
</div>