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

@@ -10,9 +10,9 @@ var CartActions = {
});
},
setItemCount: function(item, count) {
addNItems: function(item, count) {
AppDispatcher.handleAction({
actionType: CartConstants.SET_ITEM_COUNT,
actionType: CartConstants.ADD_N_ITEMS,
item: item,
count: count
});