import type { TokenResponse } from "~/types/api/proyek"; import { toLocaleDateTime } from "~/utils/format-to-locale-time"; import toRupiah from "~/utils/to-rupiah"; export function InvestorListItem({ investor }: { investor: TokenResponse }) { return (
{investor.nama}
{toLocaleDateTime(investor.token_created_at)}
Jumlah Modal
*/}{investor.jumlah_token} Token
{toRupiah(investor.total_nilai_token)}