ensure root path is expanded

pull/5370/head
yann300 4 years ago
parent a25f4ac22d
commit 04b7880c6c
  1. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -120,7 +120,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}]
setState(prevState => {
return { ...prevState, fileManager, files, actions }
return { ...prevState, fileManager, files, actions, expandPath: [name] }
})
})()
}, [name])

Loading…
Cancel
Save