Skip to content

Commit

Permalink
fix for cellContent of type object
Browse files Browse the repository at this point in the history
  • Loading branch information
wai-blue committed Dec 2, 2024
1 parent 12c3118 commit 8b36f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ export default class Table<P, S> extends Component<TableProps, TableState> {
</>
break;
default:
cellValueElement = cellContent;
cellValueElement = (typeof cellContent == 'object' ? JSON.stringify(cellContent) : cellContent);
break;
}

Expand Down

0 comments on commit 8b36f45

Please sign in to comment.