updated fetching interval

This commit is contained in:
Beverly Nguyen
2025-01-15 12:07:40 -08:00
parent cd90682958
commit 607e112905
5 changed files with 8 additions and 17 deletions

View File

@@ -271,7 +271,7 @@
})
.catch(error => console.error('Error fetching daily stats:', error));
};
setInterval(() => fetchData(currentType), 10000);
setInterval(() => fetchData(currentType), 25000);
const handleDropdownChange = function(event) {
const selectedValue = event.target.value;
currentType = selectedValue;