From 260687dfafff4003ffcbeea308e2d42a4b9fddb1 Mon Sep 17 00:00:00 2001 From: selfisekai Date: Sat, 31 Oct 2020 21:02:06 +0100 Subject: [PATCH] fix eslint error --- front/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 {