diff options
Diffstat (limited to 'src/redux/github/reducer.js')
| -rw-r--r-- | src/redux/github/reducer.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/redux/github/reducer.js b/src/redux/github/reducer.js index 79543b8..0d443f6 100644 --- a/src/redux/github/reducer.js +++ b/src/redux/github/reducer.js @@ -1,4 +1,4 @@ -import { FETCH_TRENDING_FAILED, FETCH_TRENDING_SUCCESS, PROCESS_FETCH_TRENDING, UPDATE_FILTERS } from './types'; +import { FETCH_TRENDING_FAILED, FETCH_TRENDING_SUCCESS, PROCESS_FETCH_TRENDING } from './types'; import { UPDATE_DATE_TYPE, UPDATE_LANGUAGE } from '../preference/types'; export const initialState = { @@ -9,7 +9,6 @@ export const initialState = { // { start: '', end: '', data: [] } // ] repositories: [], - filters: {}, error: null, }; @@ -44,11 +43,6 @@ export default function reducer(state = initialState, action) { processing: false, error: action.payload }; - case UPDATE_FILTERS: - return { - ...state, - filters: action.payload - }; default: return state; } |
