Update settings.js
This commit is contained in:
parent
2aafc6d63f
commit
d346a66b0a
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ export function doUpdateIsNight() {
|
||||||
export function doUpdateIsNightAsync() {
|
export function doUpdateIsNightAsync() {
|
||||||
return dispatch => {
|
return dispatch => {
|
||||||
dispatch(doUpdateIsNight());
|
dispatch(doUpdateIsNight());
|
||||||
// eslint-disable-next-line no-unused-vars
|
|
||||||
const updateIsNightInterval = setInterval(
|
setInterval(
|
||||||
() => dispatch(doUpdateIsNight()),
|
() => dispatch(doUpdateIsNight()),
|
||||||
UPDATE_IS_NIGHT_INTERVAL
|
UPDATE_IS_NIGHT_INTERVAL
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue