fixed misleading name of an action

This commit is contained in:
Senad Uka
2015-05-17 03:20:26 +02:00
parent 16ff955c21
commit c99bcbda7a
4 changed files with 7 additions and 6 deletions

View File

@@ -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 () {