"use client"; import { useConnections } from "@/api/hooks/reads"; import { Skeleton } from "@seed-design/react"; import { EmptyState, IconChip, SectionHeader } from "@/ds"; import { profileStrings } from "./strings"; /** * Read-only connected-banks list (Task 13 scope: NO connect/disconnect here — * that stays a mobile-only action per the brief). Mirrors the bank rows in * `ProfileView.swift`'s `banksCard`, minus the connect/disconnect chips. */ export function ConnectedBanks() { const { data: connections, isLoading } = useConnections(); const empty = !isLoading && (!connections || connections.length === 0); return (
{isLoading && (
)} {empty && ( )} {!isLoading && connections && connections.length > 0 && ( <>

{profileStrings.banks.manageNote}

)}
); }