'use client'; import { Info } from 'lucide-react'; import { t } from '@/i18n'; import type { Insight } from '@/lib/types'; import { useProvenance } from '@/components/data/provenance-context'; /** Verified insights list; each ⓘ opens the provenance of the first indicator used by the insight. */ export function KeyFacts({ items, country }: { items: Insight[]; country: { id: string; slug: string | null; name: string; flag?: string | null } }) { const { open } = useProvenance(); if (items.length === 0) return
{t('country.facts.none')}
; return ({ins.text}
{p ? ( ) : null}