From b59eb6f4df3e3cd122783b0f3e7aa0e345bb5aeb Mon Sep 17 00:00:00 2001 From: Anis SMAIL Date: Thu, 5 Dec 2024 18:05:45 +0100 Subject: [PATCH] fix(ui): fix build --- webapp/src/components/App/Studies/StudyTree/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp/src/components/App/Studies/StudyTree/index.tsx b/webapp/src/components/App/Studies/StudyTree/index.tsx index 354082b4de..9a66076740 100644 --- a/webapp/src/components/App/Studies/StudyTree/index.tsx +++ b/webapp/src/components/App/Studies/StudyTree/index.tsx @@ -56,10 +56,8 @@ function StudyTree() { } } // children paths and current element path - let [treeAfterChildrenUpdate, failedPath] = await fetchAndInsertSubfolders( - chidrenPaths, - treeAfterWorkspacesUpdate, - ); + const [treeAfterChildrenUpdate, failedPath] = + await fetchAndInsertSubfolders(chidrenPaths, treeAfterWorkspacesUpdate); if (failedPath.length > 0) { enqueueErrorSnackbar( t("studies.tree.error.failToFetchFolder", {