mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
refactor: Remove no-op refreshTaskState function
- Remove unused refreshTaskState function from useManagerQueue - Function was left as no-op only to make tests pass - Since queue is now push-based (WebSocket), no need to refresh state - Clean up export and remove extra blank lines 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -141,14 +141,6 @@ export const useManagerQueue = (
|
||||
isLoading.value = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Force refresh of task state by requesting update from server
|
||||
*/
|
||||
const refreshTaskState = () => {
|
||||
// This would typically trigger a server request to get latest state
|
||||
// Implementation depends on how the server exposes this functionality
|
||||
}
|
||||
|
||||
return {
|
||||
// State
|
||||
isLoading,
|
||||
@@ -162,7 +154,6 @@ export const useManagerQueue = (
|
||||
|
||||
// Actions
|
||||
updateTaskState,
|
||||
refreshTaskState,
|
||||
cleanup
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user