mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix 401 on exit project (#5388)
This commit is contained in:
@@ -19,6 +19,6 @@ export const useListFiles = (config?: UseListFilesConfig) => {
|
||||
return useQuery({
|
||||
queryKey: ["files", token, config?.path],
|
||||
queryFn: () => OpenHands.getFiles(config?.path),
|
||||
enabled: isActive && config?.enabled && !!token,
|
||||
enabled: !!(isActive && config?.enabled && token),
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user