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