diff --git a/index.html b/index.html index 96dfb8a..0ba66a3 100644 --- a/index.html +++ b/index.html @@ -274,8 +274,8 @@

}; const setValues = async () => { - const values = await getValues(); - Object.keys(FIELDS).forEach((key) => { + const [...values] = await getValues(); + [...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("");