diff --git a/src/renderer/redux/actions/settings.js b/src/renderer/redux/actions/settings.js index a96bd92dd..0f20917dc 100644 --- a/src/renderer/redux/actions/settings.js +++ b/src/renderer/redux/actions/settings.js @@ -73,8 +73,8 @@ export function doUpdateIsNight() { export function doUpdateIsNightAsync() { return dispatch => { dispatch(doUpdateIsNight()); - // eslint-disable-next-line no-unused-vars - const updateIsNightInterval = setInterval( + + setInterval( () => dispatch(doUpdateIsNight()), UPDATE_IS_NIGHT_INTERVAL );