<th>Address</th>
</tr>
</thead>
- <tbody></tbody>
</table>
</output>
</form>
body: JSON.stringify(batchPayload),
}).then(r => r.json());
+ table.querySelector('tbody')?.remove(); // Clear previous rows, if any
+ const body = table.createTBody();
for (const [index, response] of batchResponse.entries()) {
- const row = table.insertRow();
+ const row = body.insertRow();
const ens = row.insertCell();
const address = row.insertCell();