diff --git a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts index 152b283fa9..e926ac9a8b 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts @@ -673,9 +673,9 @@ const fetchDirectoryContent = (state: BrowserState, payload: { fileTree, path: s } } else { if (payload.path === state.mode || payload.path === '/') { - let files = normalize(payload.fileTree, payload.path, payload.type) + const files = normalize(payload.fileTree, payload.path, payload.type) - files = _.merge(files, state[state.mode].files[state.mode]) + // files = _.merge(files, state[state.mode].files[state.mode]) if (deletePath) delete files[deletePath] return { [state.mode]: files } } else {