diff --git a/src/components/PrettyJson/index.tsx b/src/components/PrettyJson/index.tsx index 9f8420d2..cf7c3c07 100644 --- a/src/components/PrettyJson/index.tsx +++ b/src/components/PrettyJson/index.tsx @@ -66,7 +66,29 @@ export const PrettyJson = ({ json }: { json: AnyObject }) => { {key} -
{value.map((v) => render(v, key))}
+
+ {value.map((v, index) => { + if (typeof v === "object") { + return ( +
+
+ +
+
{render(v)}
+
+ + +
+
+ ); + } + + return render(v, key); + })} +