Skip to content

Commit 65cad49

Browse files
committed
Update file-explorer.tsx
1 parent 7f8667e commit 65cad49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libs/remix-ui/workspace/src/lib/components/file-explorer.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
318318
}
319319

320320
useEffect(() => {
321-
if(files[ROOT_PATH]){
322-
321+
if (files[ROOT_PATH]){
323322
try {
324323
const children: FileType[] = files[ROOT_PATH] as any
325324
setChildrenKeys(fileKeySort(children))

0 commit comments

Comments
 (0)