Update settings.js

This commit is contained in:
Sean Yesmunt 2019-02-12 12:02:44 -04:00 committed by GitHub
parent 2aafc6d63f
commit d346a66b0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
);