Changed nested content generation length minimun depth

This commit is contained in:
srgooglo 2020-10-23 15:17:56 +02:00
parent 20faeea409
commit c1b764be06

View File

@ -116,7 +116,7 @@ export default function DebugPanel(data) {
<Icons.RefreshCw /> This cannot be rendered because a cylic has been detected
</div>
}
if (Object.keys(e.value).length > 1) { // trying create nested
if (Object.keys(e.value).length > 0) { // trying create nested
return <div>
{DebugPanel(e.value)}
</div>