ExportJSON React demo prettify fix

This commit is contained in:
svenadlung 2021-11-16 19:14:21 +01:00
parent c2de06bb26
commit 5fcd4beffb

View File

@ -88,7 +88,7 @@ export default () => {
<div className="export">
<h3>JSON</h3>
<pre>
<code>{JSON.stringify(json)}</code>
<code>{JSON.stringify(json, null, 2)}</code>
</pre>
</div>
</>