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

{title}

); } export function RecommendationsPanel({ result, }: { result: AdapterResult | null; }) { if (!result || result.availability !== "ready") { return ( ); } const d = result.data; return (
); }