From 349c7906ed230932600a38ec2752859911e69418 Mon Sep 17 00:00:00 2001 From: Ajay Ghanwat Date: Mon, 27 Oct 2025 13:34:34 +0530 Subject: [PATCH] New Changes with Table Component --- src/components/Table.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Table.astro b/src/components/Table.astro index e7561e9..eafaa77 100644 --- a/src/components/Table.astro +++ b/src/components/Table.astro @@ -167,9 +167,9 @@ const id = `table-${Math.random().toString(36).slice(2, 9)}`; tbody.innerHTML = ""; mobileBody.innerHTML = ""; - dataset.forEach((row) => { + dataset.forEach((row, i) => { // 🖥️ Desktop - let tr = ``; + let tr = ``; columns.forEach((col) => { let value = row[col.key] ?? "";