Update file-explorer.tsx

pull/4098/head
bunsenstraat 1 year ago
parent 7f8667ef20
commit 65cad499a7
  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