chore: build
This commit is contained in:
@@ -30,6 +30,7 @@ export interface CartItem {
|
|||||||
quantity: number; // ✨ En GRAMMES (pas "combien de fois")
|
quantity: number; // ✨ En GRAMMES (pas "combien de fois")
|
||||||
category: string;
|
category: string;
|
||||||
image?: string;
|
image?: string;
|
||||||
|
is_reward?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CartContextType {
|
interface CartContextType {
|
||||||
@@ -129,6 +130,7 @@ export function CartProvider({ children }: { children: ReactNode }) {
|
|||||||
quantity: item.quantity as number,
|
quantity: item.quantity as number,
|
||||||
category: category,
|
category: category,
|
||||||
image: item.image as string | undefined,
|
image: item.image as string | undefined,
|
||||||
|
is_reward: item.is_reward as boolean | undefined,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user