diff --git a/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx b/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx index 7f84851951..49064fea9d 100644 --- a/libs/remix-ui/workspace/src/lib/components/file-explorer.tsx +++ b/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))