Skip to content

Commit

Permalink
fix(ui): fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anis SMAIL committed Dec 5, 2024
1 parent e24f1da commit b59eb6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions webapp/src/components/App/Studies/StudyTree/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit b59eb6f

Please sign in to comment.