Skip to content

Commit

Permalink
fix nested objects not rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed May 16, 2024
1 parent 3287a2d commit 5d852cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const formatValue = (value: unknown, key?: string): ReactNode => {
return `No ${key?.replaceAll(/_/g, " ")}`;
}

return value.map((v) => formatValue(v, key)).join(", ");
return value.map((v) => formatValue(v, key));
}

if (value instanceof Date) {
Expand Down

0 comments on commit 5d852cf

Please sign in to comment.