This commit is contained in:
2024-06-25 20:35:03 +05:30
parent f0189855eb
commit 39fbe2b1d5
7 changed files with 131 additions and 102 deletions

View File

@@ -110,11 +110,11 @@ const DataTable = ({
textOverflow: "ellipsis",
}}
className="web-text-small"
onClick={
i === tableHeadRow.length - 1 || i === 0
? null
: () => navigate(`edit-sponser/${item.id}`) // Define the onClick handler for other cells
}
// onClick={
// i === tableHeadRow.length - 1 || i === 0
// ? null
// : () => navigate(`edit-sponser/${item.id}`) // Define the onClick handler for other cells
// }
>
{item[heading]}
</Td>