The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(www): show one partner addendum (#47011)
Francesco Sansalvadore7837668ac7c8
diff --git a/apps/www/pages/legal/partner-resources/program-addenda/index.tsx b/apps/www/pages/legal/partner-resources/program-addenda/index.tsxindex b9487b6aaec..7707ec55234 100644--- a/apps/www/pages/legal/partner-resources/program-addenda/index.tsx+++ b/apps/www/pages/legal/partner-resources/program-addenda/index.tsx@@ -44,24 +44,18 @@ export default function ProgramAddendaPage({ addenda }: { addenda: AddendumSumma<h2>Current addenda</h2><p>Additional partner-type addenda will be added as the program expands.</p><div className="divide-y divide-border">- {addenda.flatMap((item) =>- item.versions.map((v) => (- <div key={`${item.slug}-${v.id}`} className="flex items-center gap-3 py-4">- <FileText size={15} className="shrink-0 text-foreground-muted" />- <Link- href={v.href}- className="text-foreground-light transition-colors hover:text-foreground hover:underline"- >- {item.title}- </Link>- {v.isLatest ? (- <Badge variant="success">Effective {v.effectiveDate}</Badge>- ) : (- <Badge>{v.effectiveDate}</Badge>- )}- </div>- ))- )}+ {addenda.map((item) => (+ <div key={item.slug} className="flex items-center gap-3 py-4">+ <FileText size={15} className="shrink-0 text-foreground-muted" />+ <Link+ href={item.href}+ className="text-foreground-light transition-colors hover:text-foreground hover:underline"+ >+ {item.title}+ </Link>+ <Badge>Effective {item.versions[0].effectiveDate}</Badge>+ </div>+ ))}</div></SectionContainer></DefaultLayout>