diff --git a/front/src/index.ts b/front/src/index.ts index f5d6b8a..6eb0427 100644 --- a/front/src/index.ts +++ b/front/src/index.ts @@ -304,10 +304,10 @@ ${d.pickupPointPostCode} ${d.pickupPointCity}`, ["Open code", "openCode"], ["Package number", "id"], ] as [string, string | ((d: typeof data) => string)][]).forEach(([key, value]) => { - const row = infoTable.insertRow(); - const keyCell = row.insertCell(); + const infoRow = infoTable.insertRow(); + const keyCell = infoRow.insertCell(); keyCell.innerText = key; - const valueCell = row.insertCell(); + const valueCell = infoRow.insertCell(); if (typeof value === "string") { valueCell.innerText = `${data[value]}`; } else {