mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 21:28:25 +08:00
refactor(web): remove unused refetch from sandbox files tree hook
This commit is contained in:
parent
d60a43164f
commit
ce95f1e5cb
@ -99,7 +99,7 @@ export function useSandboxFilesTree(
|
||||
? { params: { appId }, query: { recursive: true } }
|
||||
: skipToken
|
||||
|
||||
const { data, isLoading, error, refetch } = useQuery({
|
||||
const { data, isLoading, error } = useQuery({
|
||||
...consoleQuery.sandboxFile.listFiles.queryOptions({
|
||||
input,
|
||||
}),
|
||||
@ -122,6 +122,5 @@ export function useSandboxFilesTree(
|
||||
hasFiles,
|
||||
isLoading,
|
||||
error,
|
||||
refetch,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user