Skip to content

Commit d5ad9c6

Browse files
fix(TableCell): value passed to renderer
1 parent 544bc12 commit d5ad9c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/data/src/table/BodyCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const BodyCell = ({
5252
const content = useMemo(() => {
5353
const value = getByPath(item, column.id.toString());
5454
if (column.renderer != null) {
55-
return column.renderer(item[column.id], item, index);
55+
return column.renderer(value, item, index);
5656
}
5757
if (column.dataType === "boolean") {
5858
const map = column.valueMap ?? { true: "Yes", false: "no" };

0 commit comments

Comments
 (0)