From 3310a5fc6c3c400247eb31d19a474b72fd99087d Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Tue, 9 Jan 2024 07:13:33 +0100 Subject: [PATCH] lint fix --- libs/remix-ui/workspace/src/lib/reducers/workspace.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts index 120de66959..2d6b15a26c 100644 --- a/libs/remix-ui/workspace/src/lib/reducers/workspace.ts +++ b/libs/remix-ui/workspace/src/lib/reducers/workspace.ts @@ -899,10 +899,10 @@ const flattenTree = (files, expandPath: string[]) =>{ flatTree.push(file) if (file.isDirectory && file.child && expandPath && expandPath.find((path) => path === file.path || path.startsWith(file.path + '/')) ) { - const sorted = fileKeySort(file.child) - Object.keys(sorted).map((key) => { - mapChild(sorted[key]) - }) + const sorted = fileKeySort(file.child) + Object.keys(sorted).map((key) => { + mapChild(sorted[key]) + }) } } if(files){