fixed misleading name of an action
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user