import { InvestorListItem } from "~/components/cards/modal-card"; import type { TokenResponse } from "~/types/api/proyek"; interface SecondSectionProps { investors: TokenResponse[]; // Changed to accept array of investors } export default function SecondSection({ investors }: SecondSectionProps) { return (

Penanam Modal

{investors && investors.length > 0 ? ( investors.map((investor, index) => ) ) : (

Belum ada penanam modal

)}
); }