fix a bug where scanning on the timed interval would happen twice
All checks were successful
deploy / deploy (push) Successful in 1m9s

This commit is contained in:
Lee 2023-10-23 11:33:59 +01:00
parent 0120938ca3
commit 3a2dbe6423
2 changed files with 0 additions and 2 deletions

@ -270,7 +270,6 @@ export const useScoresaberScoresStore = create<ScoreSaberScoresStore>()(
timeUntilRefreshMs / 1000,
"seconds to refresh scores for players",
);
setTimeout(() => get().updatePlayerScores(), timeUntilRefreshMs);
return;
}

@ -86,7 +86,6 @@ export const useSettingsStore = create<SettingsStore>()(
timeUntilRefreshMs / 1000,
"to refresh profiles",
);
setTimeout(() => this.refreshProfiles(), timeUntilRefreshMs);
return;
}