Skip to content

Commit

Permalink
Update useCellRender.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan authored Nov 26, 2023
1 parent 053d715 commit 0e49551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cell/useCellRender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function useCellRender<RecordType>(
? dataIndex
: [dataIndex];

const value: Record<string, unknown> | React.ReactNode = getValue(record, path);
const value: React.ReactNode = getValue(record, path);

// Customize render node
let returnChildNode = value;
Expand Down

0 comments on commit 0e49551

Please sign in to comment.