Update src/lib/api/product.ts

This commit is contained in:
2026-03-06 21:37:38 +00:00
parent 2bfda7530f
commit 7586d39fa0

View File

@@ -1,3 +1,11 @@
export interface Product {
id: string;
name: string;
price: string;
imageSrc: string;
imageAlt?: string;
}
export async function fetchProduct(id: string) {
try {
console.log("Fetching product:", id);