import { Check, X, Clock } from 'lucide-react' import type { AISuggestion } from '@/types' interface SuggestionsTabProps { suggestions: AISuggestion[] } const STATUS_CONFIG = { accepted: { icon: Check, color: 'text-emerald-400', label: 'Accepted' }, dismissed: { icon: X, color: 'text-rose-400', label: 'Dismissed' }, pending: { icon: Clock, color: 'text-amber-400', label: 'Pending' }, } as const export function SuggestionsTab({ suggestions }: SuggestionsTabProps) { if (suggestions.length === 0) { return (
Node: {s.target_node_id}
)}{new Date(s.created_at).toLocaleDateString()}