feat(cart): refactor CartItem structure to remove nested product object and simplify access to properties

This commit is contained in:
2026-08-18 09:06:17 -03:00
parent 43e497cf97
commit 9937c1b484
7 changed files with 40 additions and 52 deletions

View File

@@ -254,7 +254,7 @@ export class CartComponent {
return {
cartItemId: item.id,
productName: item.product?.nombre ?? 'este producto',
productName: item.nombre ?? 'este producto',
};
}