Added appState type to reducer

This commit is contained in:
Liam Cardenas 2017-11-29 14:45:49 -08:00
parent a0e1b7b88e
commit a563cba9da

View file

@ -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]; const handler = reducers[action.type];
if (handler) return handler(state, action); if (handler) return handler(state, action);
return state; return state;