Implement workspace switching

This commit is contained in:
2024-10-26 23:15:23 +02:00
parent fd313c1d7f
commit 12312137b7
8 changed files with 189 additions and 91 deletions

View File

@@ -20,7 +20,7 @@ export const useFileList = () => {
console.error('Failed to load file list:', error);
setFiles([]);
}
}, [currentWorkspace, workspaceLoading]);
}, [currentWorkspace]);
return { files, loadFileList };
};