File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
remix-ui/file-explorer/src/lib Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
217217 } , [ state . modals ] )
218218
219219 const resolveDirectory = async ( folderPath , dir : File [ ] , isChild = false ) : Promise < File [ ] > => {
220- if ( ! isChild && ( state . focusEdit . element === 'browser /blank' ) && state . focusEdit . isNew && ( dir . findIndex ( ( { path } ) => path === 'browser /blank' ) === - 1 ) ) {
220+ if ( ! isChild && ( state . focusEdit . element === ` ${ name } /blank` ) && state . focusEdit . isNew && ( dir . findIndex ( ( { path } ) => path === ` ${ name } /blank` ) === - 1 ) ) {
221221 dir = state . focusEdit . type === 'file' ? [ ...dir , {
222222 path : state . focusEdit . element ,
223223 name : '' ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @remix-project/remixd" ,
3- "version" : " 0.2.4-alpha.1 " ,
3+ "version" : " 0.3.0 " ,
44 "description" : " remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)" ,
55 "main" : " index.js" ,
66 "types" : " ./index.d.ts" ,
You can’t perform that action at this time.
0 commit comments