diff --git a/index.html b/index.html index 1f06ec3..96dfb8a 100644 --- a/index.html +++ b/index.html @@ -275,9 +275,8 @@

const setValues = async () => { const values = await getValues(); - [...Object.keys(FIELDS)].forEach((key) => { - console.log(values); - const value = [...values].find(total => total.includes(FIELDS[key]))[1]; + Object.keys(FIELDS).forEach((key) => { + const value = values.find(total => total.includes(FIELDS[key]))[1]; const stringValue = value.toString(); const htmlValue = stringValue.split("").map((char) => `${char}`).join(""); document.getElementById(key).innerHTML = htmlValue;