👣🌜 Checkpoint
./public/index.js:1954897/27124
This commit is contained in:
1 parent
44cd6dd3bb
commit
ca7b8c4fb1
2 files changed
+17
-3
No files matched your search
+1
-3
@@ -75,8 +75,7 @@ setInterval(() => {
|
||||
if (chart) {
|
||||
updateChart(currentChart)
|
||||
}
|
||||
// }, 60 * 1000)
|
||||
}, 6000)
|
||||
}, 60 * 1000)
|
||||
|
||||
async function drawRegions() {
|
||||
const data = await getData()
|
||||
@@ -199,7 +198,6 @@ async function updateChart(id) {
|
||||
})
|
||||
|
||||
const canvas = document.getElementById('myChart')
|
||||
canvas.width = canvas.width
|
||||
canvas.innerHTML = canvas.innerHTML
|
||||
const ctx = canvas.getContext('2d')
|
||||
|
||||
|
||||
Reference in new issue
Block a user