searInput 오류 일단 수정 및 테이블 헤더 ? 추가

This commit is contained in:
leedj312
2025-03-28 18:02:13 +09:00
parent 4667e535e9
commit 554ad2c5a8
2 changed files with 17 additions and 4 deletions
@@ -36,7 +36,7 @@ export function UiTable({ tableData, headlist, pageSize, total, children, headNa
<TableBody className='text-center'>
{tableData?.map((el: { [key: string]: string | number | boolean }, index) => (
<TableRow key={index + "row"} >
{headlist.map((head) => (
{headlist?.map((head) => (
<TableCell className="cursor-pointer" onClick={()=>cellClick && cellClick(index)} key={head.id + index}>{el[head.id]}</TableCell>
))}
</TableRow>