From aabed16b484bd139dd7fc8f5df205f35cdaaf99b Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Tue, 2 Feb 2021 13:06:53 +0100 Subject: [PATCH] Bump remixd version and fixed file creation error for localhost --- libs/remix-ui/file-explorer/src/lib/file-explorer.tsx | 2 +- libs/remixd/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx index 279b7fe101..252b8d70d4 100644 --- a/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx +++ b/libs/remix-ui/file-explorer/src/lib/file-explorer.tsx @@ -217,7 +217,7 @@ export const FileExplorer = (props: FileExplorerProps) => { }, [state.modals]) const resolveDirectory = async (folderPath, dir: File[], isChild = false): Promise => { - if (!isChild && (state.focusEdit.element === 'browser/blank') && state.focusEdit.isNew && (dir.findIndex(({ path }) => path === 'browser/blank') === -1)) { + if (!isChild && (state.focusEdit.element === `${name}/blank`) && state.focusEdit.isNew && (dir.findIndex(({ path }) => path === `${name}/blank`) === -1)) { dir = state.focusEdit.type === 'file' ? [...dir, { path: state.focusEdit.element, name: '', diff --git a/libs/remixd/package.json b/libs/remixd/package.json index c5a72cd00f..822e250976 100644 --- a/libs/remixd/package.json +++ b/libs/remixd/package.json @@ -1,6 +1,6 @@ { "name": "@remix-project/remixd", - "version": "0.2.4-alpha.1", + "version": "0.3.0", "description": "remix server: allow accessing file system from remix.ethereum.org and start a dev environment (see help section)", "main": "index.js", "types": "./index.d.ts",