'use client'; import type { DetailTab } from '@/components/shared/detail-layout'; import { EmptyState } from '@/components/shared/empty-state'; import { YachtOwnershipHistory } from '@/components/yachts/yacht-ownership-history'; interface YachtTabsYacht { id: string; name: string; hullNumber: string | null; registration: string | null; flag: string | null; yearBuilt: number | null; builder: string | null; model: string | null; hullMaterial: string | null; lengthFt: string | null; widthFt: string | null; draftFt: string | null; lengthM: string | null; widthM: string | null; draftM: string | null; status: string; notes: string | null; } interface YachtTabsOptions { yachtId: string; currentUserId?: string; yacht: YachtTabsYacht; } function InfoRow({ label, value }: { label: string; value?: string | number | null }) { if (value === null || value === undefined || value === '') return null; return (
{yacht.notes}