linting fix

pull/5370/head
aniket-engg 3 years ago committed by Aniket
parent ae53207148
commit bd080f4169
  1. 2
      libs/remix-ui/workspace/src/lib/reducers/workspace.ts

@ -673,7 +673,7 @@ const fetchDirectoryContent = (state: BrowserState, payload: { fileTree, path: s
} }
} else { } else {
if (payload.path === '/') { if (payload.path === '/') {
let files = normalize(payload.fileTree, payload.path, payload.type) const files = normalize(payload.fileTree, payload.path, payload.type)
return { [state.mode]: files } return { [state.mode]: files }
} else if (payload.path === state.mode) { } else if (payload.path === state.mode) {
let files = normalize(payload.fileTree, payload.path, payload.type) let files = normalize(payload.fileTree, payload.path, payload.type)

Loading…
Cancel
Save