Added appState type to reducer
This commit is contained in:
parent
a0e1b7b88e
commit
a563cba9da
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ reducers[types.VOLUME_CHANGED] = function(state, action) {
|
|||
});
|
||||
};
|
||||
|
||||
export default function reducer(state: any = defaultState, action: any) {
|
||||
export default function reducer(state: appState = defaultState, action: any) {
|
||||
const handler = reducers[action.type];
|
||||
if (handler) return handler(state, action);
|
||||
return state;
|
||||
|
|
Loading…
Add table
Reference in a new issue