Skip to content

Commit

Permalink
removing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-fs committed Feb 3, 2020
1 parent 28f5b6d commit 0756993
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/actions/cart.ts
Expand Up @@ -4,7 +4,6 @@ import { ADD_TO_CART, REMOVE_FROM_CART, CartActionTypes } from './types';
// TODO: manage side-effects, update cart in local storage with the cart service

export const addToCart = (product: Product) : CartActionTypes => {
console.log(`add to cart with product ${JSON.stringify(product)}`);
return {
type: ADD_TO_CART,
product,
Expand Down

0 comments on commit 0756993

Please sign in to comment.