ver productos y detalles

This commit is contained in:
2025-07-09 14:56:58 -04:00
parent 365cbd0d7a
commit 3a0b29d3c1
14 changed files with 144 additions and 91 deletions

View File

@@ -9,9 +9,9 @@ export const columns: ColumnDef<InventoryTable>[] = [
accessorKey: 'urlImg',
header: 'img',
cell: ({ row }) => {
const status = row.getValue("urlImg") as string | undefined;
const url = row.getValue("urlImg") as string | undefined;
return (
<img src={`http://localhost:3000/${status}`} alt="Image" width={64} height={64} className="rounded"/>
<img src={`http://localhost:3000/${url}`} alt="" width={64} height={64} className="rounded"/>
)
},
},