This commit is contained in:
2019-07-24 00:53:01 -04:00
parent 434a1ded24
commit a9f4324f29
21 changed files with 345 additions and 100 deletions

View File

@@ -0,0 +1,11 @@
import { SET_ITEM_FILTER } from '../constants/actionTypes.js';
import { ITEM_FILTERS } from '../constants/constants.js';
export const itemFilter = (state = ITEM_FILTERS.ALL, action) => {
switch (action.type) {
case SET_AUCTION_FILTER:
return action.payload;
default:
return state;
}
};