From e30d394c0a5c03421972de910e17931059dcc02b Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sat, 13 Jun 2026 14:35:54 +0200 Subject: [PATCH] chore: build --- frontend-prep/src/context/CartContext.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend-prep/src/context/CartContext.tsx b/frontend-prep/src/context/CartContext.tsx index c45fb7db..105a79e0 100644 --- a/frontend-prep/src/context/CartContext.tsx +++ b/frontend-prep/src/context/CartContext.tsx @@ -30,6 +30,7 @@ export interface CartItem { quantity: number; // ✨ En GRAMMES (pas "combien de fois") category: string; image?: string; + is_reward?: boolean; } interface CartContextType { @@ -129,6 +130,7 @@ export function CartProvider({ children }: { children: ReactNode }) { quantity: item.quantity as number, category: category, image: item.image as string | undefined, + is_reward: item.is_reward as boolean | undefined, }; });