From 98c58f576bddc92c02c64724e21ffb5fce5e7ea8 Mon Sep 17 00:00:00 2001 From: jsapro <77.3.77@mail.ru> Date: Thu, 11 Jan 2024 20:15:00 +0300 Subject: [PATCH] fix: product type --- src/contexts/cart-context.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/contexts/cart-context.tsx b/src/contexts/cart-context.tsx index a765c477..2ddcabd9 100644 --- a/src/contexts/cart-context.tsx +++ b/src/contexts/cart-context.tsx @@ -20,9 +20,10 @@ type ProductItem = { photo: string; category: string; quantity: number; - created_at: number; final_price: number; total_price: number; + amount: number; + measure_unit: string; }; type CartDataItem = {