"use client"; import type { TenantRecommendationFeed } from "../adapters/tenant-recommendations"; import type { AdapterResult } from "../types"; import { CommercialEmptyState } from "./CommercialEmptyState"; import { commercialEntityName, recommendationReason } from "../presentation"; function RecList({ title, items, kind, }: { title: string; items?: Array<{ code: string; score?: number; reason?: string; kind?: string }>; kind: string; }) { if (!items?.length) return null; return (
{title}
{recommendationReason(i.reason)}