Bump remixd version and fixed file creation error for localhost

pull/827/head
ioedeveloper 4 years ago
parent a609efc312
commit aabed16b48
  1. 2
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx
  2. 2
      libs/remixd/package.json

@ -217,7 +217,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
}, [state.modals])
const resolveDirectory = async (folderPath, dir: File[], isChild = false): Promise<File[]> => {
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: '',

@ -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",

Loading…
Cancel
Save