mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
Prune unused export
This commit is contained in:
@@ -198,17 +198,6 @@ export function safeWidgetMapper(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isValidWidgetValue(value: unknown): value is WidgetValue {
|
|
||||||
return (
|
|
||||||
value === null ||
|
|
||||||
value === undefined ||
|
|
||||||
typeof value === 'string' ||
|
|
||||||
typeof value === 'number' ||
|
|
||||||
typeof value === 'boolean' ||
|
|
||||||
typeof value === 'object'
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export function useGraphNodeManager(graph: LGraph): GraphNodeManager {
|
export function useGraphNodeManager(graph: LGraph): GraphNodeManager {
|
||||||
// Get layout mutations composable
|
// Get layout mutations composable
|
||||||
const { createNode, deleteNode, setSource } = useLayoutMutations()
|
const { createNode, deleteNode, setSource } = useLayoutMutations()
|
||||||
|
|||||||
Reference in New Issue
Block a user