From d9e1700d8d7d184c28127fa4155625cf306553af Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Thu, 4 Nov 2021 16:45:30 +0100 Subject: [PATCH] lint --- libs/remix-ui/workspace/src/lib/reducers/workspace.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts index a315d40083..d180efba5c 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts @@ -659,7 +659,6 @@ const fetchDirectoryContent = (state: BrowserState, payload: { fileTree, path: s var object = {}; var o = object for (const pa of _path) { o = o[pa] = {} - if (pa !== _path[0]) { o = o.child = {} } } files = _.defaultsDeep(files, object) prevFiles = _.get(files, _path)