Add countdown interval initialization in renderer.js
This commit is contained in:
@@ -315,7 +315,7 @@ folders.forEach(folderObj => {
|
|||||||
const sec = (s % 60).toString().padStart(2, '0');
|
const sec = (s % 60).toString().padStart(2, '0');
|
||||||
return `${m}:${sec}`;
|
return `${m}:${sec}`;
|
||||||
}
|
}
|
||||||
|
let countdownInterval = null;
|
||||||
async function updateInteractionBar(folderObj) {
|
async function updateInteractionBar(folderObj) {
|
||||||
// Commits Today
|
// Commits Today
|
||||||
const stats = await window.electronAPI.getDailyCommitStats();
|
const stats = await window.electronAPI.getDailyCommitStats();
|
||||||
|
|||||||
Reference in New Issue
Block a user