single method for updating cart item state / fixed problems with sinatra contrib
This commit is contained in:
@@ -4,7 +4,7 @@ var keyMirror = require('react/lib/keyMirror');
|
||||
module.exports = keyMirror({
|
||||
LOAD: null,
|
||||
ADD_ITEM: null,
|
||||
// because removeItem can be used to completely remove item
|
||||
// because REMOVE_ITEM could be used to completely remove item
|
||||
// and not just decrease count by 1
|
||||
TAKE_ITEM_OUT: null
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user