Update file-explorer.tsx

pull/5370/head
bunsenstraat 1 year ago
parent a606b20813
commit a1106f2394
  1. 3
      libs/remix-ui/workspace/src/lib/components/file-explorer.tsx

@ -318,8 +318,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}
useEffect(() => {
if(files[ROOT_PATH]){
if (files[ROOT_PATH]){
try {
const children: FileType[] = files[ROOT_PATH] as any
setChildrenKeys(fileKeySort(children))

Loading…
Cancel
Save