fixed misleading name of an action
This commit is contained in:
@@ -75,7 +75,7 @@ var AddToCart = React.createClass({
|
||||
},
|
||||
|
||||
_addToCartClick: function () {
|
||||
CartActions.setItemCount(this.props.item, this.state.count);
|
||||
CartActions.addNItems(this.props.item, this.state.count);
|
||||
},
|
||||
|
||||
componentWillUnmount: function () {
|
||||
|
||||
Reference in New Issue
Block a user