remove completion actions/reducer
This commit is contained in:
parent
4cb17031d1
commit
45368384d1
13 changed files with 206 additions and 261 deletions
|
@ -2,14 +2,12 @@ import inputReducer from 'reducers/input';
|
|||
import consoleReducer from 'reducers/console';
|
||||
import settingReducer from 'reducers/setting';
|
||||
import followReducer from 'reducers/follow';
|
||||
import completionReducer from 'reducers/completion';
|
||||
|
||||
const defaultState = {
|
||||
input: inputReducer(undefined, {}),
|
||||
console: consoleReducer(undefined, {}),
|
||||
setting: settingReducer(undefined, {}),
|
||||
follow: followReducer(undefined, {}),
|
||||
completion: completionReducer(undefined, {}),
|
||||
};
|
||||
|
||||
export default function reducer(state = defaultState, action = {}) {
|
||||
|
@ -18,6 +16,5 @@ export default function reducer(state = defaultState, action = {}) {
|
|||
console: consoleReducer(state.console, action),
|
||||
setting: settingReducer(state.setting, action),
|
||||
follow: followReducer(state.follow, action),
|
||||
completion: completionReducer(state.completion, action),
|
||||
});
|
||||
}
|
||||
|
|
Reference in a new issue