style(sync): replace stray var with const in restartSyncInterval

Lone var in an otherwise let/const file — promote to const since the
value never gets reassigned. No behavior change.
This commit is contained in:
Claude 2026-04-19 07:13:47 +00:00
parent c952156491
commit 9a8a1a9f8e
No known key found for this signature in database

View file

@ -418,7 +418,7 @@ function debouncedSync() {
function restartSyncInterval() { function restartSyncInterval() {
if (_syncInterval) clearInterval(_syncInterval); if (_syncInterval) clearInterval(_syncInterval);
var secs = _appFocused ? syncIntervalSecs : syncIntervalUnfocusedSecs; const secs = _appFocused ? syncIntervalSecs : syncIntervalUnfocusedSecs;
_syncInterval = setInterval(triggerSync, secs * 1000); _syncInterval = setInterval(triggerSync, secs * 1000);
} }