Skip to content

Commit 74b85ce

Browse files
authored
Merge pull request #827 from ethereum/bump-remixd
Bump remixd version and fixed file creation error for localhost
2 parents a609efc + aabed16 commit 74b85ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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: '',

libs/remixd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)