import { useState, type ReactNode } from "react"; /** Brand identifier; failed/missing assets use the supplied fallback or stable initials. */ export function ConnectionLogo({ src, name, size = 40, fallback, loading = false, }: { src: string | null; name: string; size?: number; fallback?: ReactNode; loading?: boolean; }) { const [failedSrc, setFailedSrc] = useState(null); return (