From d346a66b0a1ccf639e1453e44b71693c48648ee3 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 12 Feb 2019 12:02:44 -0400 Subject: [PATCH] Update settings.js --- src/renderer/redux/actions/settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 );