Skip to content

Commit

Permalink
fix: show nested displayed objects with react-json
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jun 1, 2023
1 parent 2b02ad6 commit 3aa401d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/JsonDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const JsonObjectDisplay = ({ doc }) => {
<Collapse accordion>
{entries.map(([key, value]) =>
<Panel header={<span style={{fontFamily: "monospace"}}>{key}</span>} key={key}>
<JsonDisplay jsonSrc={value} />
<JsonDisplay jsonSrc={value} showObjectWithReactJson={true} />
</Panel>,
)}
</Collapse>
Expand Down

0 comments on commit 3aa401d

Please sign in to comment.