From bd080f4169f11d716b9f12c97e1523b13d295907 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Wed, 5 Jan 2022 20:57:51 +0530 Subject: [PATCH] linting fix --- libs/remix-ui/workspace/src/lib/reducers/workspace.ts | 2 +- 1 file changed, 1 insertion(+), 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 613c1db3b7..ef769f5c5b 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts @@ -673,7 +673,7 @@ const fetchDirectoryContent = (state: BrowserState, payload: { fileTree, path: s } } else { 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 } } else if (payload.path === state.mode) { let files = normalize(payload.fileTree, payload.path, payload.type)