vote_chart: Remove test code
This was written for testing the chart before plugging in to the database, remove it now that is not useful anymore.
This commit is contained in:
parent
982a7ffd65
commit
8fd8ce8220
1 changed files with 0 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue