function removeProduct(name) {
    return {
      type: 'REMOVEFROMCART',
      payload: name
    }
  }
//for removing  A product from cart
for removing  A product from cart
for removing A product from cart
function removeProduct(name) {
    return {
      type: 'REMOVEFROMCART',
      payload: name
    }
  }
function removeProduct ( name ) { return { type : 'REMOVEFROMCART' , payload : name } }
for removing  A product from cart
for removing A product from cart