/ src / modules / CategorySelector / CategorySelector.reducer.js
CategorySelector.reducer.js
 1  // import reducerUtil from '../../common/utils/reducer'
 2  // import { EXCHANGES } from '../../common/data/categories'
 3  
 4  // const UPDATE_CATEGORY = 'UPDATE_CATEGORY'
 5  
 6  // export const selectCategory = category => ({
 7  //   type: UPDATE_CATEGORY,
 8  //   payload: category,
 9  // })
10  
11  // const initialState = EXCHANGES
12  
13  // const categoryChange = (_, category) => category
14  
15  // const map = {
16  //   [UPDATE_CATEGORY]: categoryChange,
17  // }
18  
19  // export default reducerUtil(map, initialState)