diff --git a/packages/ui/src/components/layout/SidebarFilesTree.tsx b/packages/ui/src/components/layout/SidebarFilesTree.tsx index 62eb88c0..2ad972d2 100644 --- a/packages/ui/src/components/layout/SidebarFilesTree.tsx +++ b/packages/ui/src/components/layout/SidebarFilesTree.tsx @@ -644,10 +644,8 @@ export const SidebarFilesTree: React.FC = () => { const pathsToRefresh = [root, ...normalizedExpanded]; loadedDirsRef.current = new Set(loadedDirsRef.current); - inFlightDirsRef.current = new Set(inFlightDirsRef.current); for (const dirPath of pathsToRefresh) { loadedDirsRef.current.delete(dirPath); - inFlightDirsRef.current.delete(dirPath); } setLoadErrorsByDir((prev) => {