diff --git a/static_files/vote_chart.js b/static_files/vote_chart.js index 45b3ab2..5bc5e54 100644 --- a/static_files/vote_chart.js +++ b/static_files/vote_chart.js @@ -1,14 +1,4 @@ -// const names = ["Bystus", "Dory", "Fen", "Lucky", "Nico", "Peran", "trot"] -// -// -// let data = []; -// for (let i = 0; i < 7; i++) { -// data.push({ -// parsing: true, -// label: names[i], -// data: Array.from(keys, () => Math.round(Math.random()*1.33))}) -// } async function main() { const vote_response = await fetch(document.URL+"/votes"); if (!vote_response.ok) {