Skip to content

Commit

Permalink
quick fix of CartProvider Type before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
lesdyman committed Aug 1, 2024
1 parent bad3386 commit fd6033c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/CartContextType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CartItem } from './CartItem';

export interface CartContextType {
cart: CartItem[];
addToCart: (item: CartItem | undefined) => void;
addToCart: (item: CartItem) => void;
changeItemCount: (id: string | number, quantity: number) => void;
removeFromCart: (id: string | number) => void;
clearCart: () => void;
Expand Down

0 comments on commit fd6033c

Please sign in to comment.