From a563cba9da579bfd3dad2c2ae88be627544ecf0d Mon Sep 17 00:00:00 2001 From: Liam Cardenas Date: Wed, 29 Nov 2017 14:45:49 -0800 Subject: [PATCH] Added appState type to reducer --- src/renderer/js/redux/reducers/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/js/redux/reducers/app.js b/src/renderer/js/redux/reducers/app.js index 4106971ba..25ca59091 100644 --- a/src/renderer/js/redux/reducers/app.js +++ b/src/renderer/js/redux/reducers/app.js @@ -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;