import { Link } from 'react-router-dom'
export function GateContributionsSection({ contributions, initiativeId, loading, error }) {
if (loading) return
Ist-Beiträge werden geladen…
if (error) return
{error}
if (!contributions) return null
const { counts } = contributions
if (counts.total === 0) {
return (
Ist-Beiträge
Noch keine Verknüpfung — ordne Backlog, Projekte, Arbeitspakete oder Aufgaben diesem Gate zu.
)
}
return (
Ist-Beiträge
Operative Arbeit, die auf diesen Zielzustand einzahlt ({counts.total} Verknüpfung
{counts.total === 1 ? '' : 'en'}).