- Linting... Prettier...
This commit is contained in:
@@ -2,10 +2,10 @@ import { SET_AUCTION_FILTER } from '../constants/actionTypes.js';
|
||||
import { ITEM_FILTERS } from '../constants/constants.js';
|
||||
|
||||
export const auctionFilter = (state = ITEM_FILTERS.ALL, action) => {
|
||||
switch (action.type) {
|
||||
case SET_AUCTION_FILTER:
|
||||
return action.payload;
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
switch (action.type) {
|
||||
case SET_AUCTION_FILTER:
|
||||
return action.payload;
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user