type Product = { id: string; name: string; image_url: string; brand: { name: string }; description?: string; price?: number; vendor?: string; }; export function ProductCard({ product }: { product: Product }) { return (
{product.brand?.name}
{product.price && (${product.price.toFixed(2)}
)}