import { ArrowPathIcon } from '@heroicons/react/24/outline'; import clsx from 'clsx'; import Image from 'next/image'; import { lusitana } from '@/app/ui/fonts'; import { LatestInvoice } from '@/app/lib/definitions'; export default async function LatestInvoices({ latestInvoices, }: { latestInvoices: LatestInvoice[]; }) { return (

Latest Invoices

{/* NOTE: comment in this code when you get to this point in the course */} {/*
{latestInvoices.map((invoice, i) => { return (
{`${invoice.name}'s

{invoice.name}

{invoice.email}

{invoice.amount}

); })}
*/}

Updated just now

); }