fix(explorer): fix incorrect recursive case for folder rendering
This commit is contained in:
		@@ -134,9 +134,9 @@ function createFolderNode(
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  for (const child of node.children) {
 | 
			
		||||
    const childNode = child.data
 | 
			
		||||
      ? createFileNode(currentSlug, child)
 | 
			
		||||
      : createFolderNode(currentSlug, child, opts)
 | 
			
		||||
    const childNode = child.isFolder
 | 
			
		||||
      ? createFolderNode(currentSlug, child, opts)
 | 
			
		||||
      : createFileNode(currentSlug, child)
 | 
			
		||||
    ul.appendChild(childNode)
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user