linting fix

pull/1888/head
aniket-engg 3 years ago committed by Aniket
parent 7fc21383bf
commit 629d34f5ef
  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