"use client"; import { useConnections } from "@/api/hooks/reads"; import { Skeleton } from "@seed-design/react"; 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(); return (

{profileStrings.banks.title}

{isLoading && (
)} {!isLoading && (!connections || connections.length === 0) && (

{profileStrings.banks.empty}

)} {!isLoading && connections && connections.length > 0 && ( )}

{profileStrings.banks.manageNote}

); }