Update content.tsx
This commit is contained in:
@@ -209,7 +209,7 @@ export default function Content({ username, orderStats }: ContentProps) {
|
||||
<div className="h-12 w-12 rounded-md bg-muted flex items-center justify-center">
|
||||
{product.image ? (
|
||||
<img
|
||||
src={`${process.env.NEXT_PUBLIC_API_URL}/products/image/${product.id}`}
|
||||
src={`${process.env.NEXT_PUBLIC_API_URL}/products/${product.id}/image`}
|
||||
alt={product.name}
|
||||
className="h-10 w-10 object-cover rounded-md"
|
||||
onError={(e) => {
|
||||
|
||||
Reference in New Issue
Block a user