diff --git a/web/comfyui/utils.js b/web/comfyui/utils.js index 47cdcda2..dd4e8132 100644 --- a/web/comfyui/utils.js +++ b/web/comfyui/utils.js @@ -69,21 +69,6 @@ export function hideWidgetForGood(node, widget, suffix = "") { } } -// Wrapper class to handle 'two element array bug' in LiteGraph or comfyui -export class DataWrapper { - constructor(data) { - this.data = data; - } - - getData() { - return this.data; - } - - setData(data) { - this.data = data; - } -} - // Function to get the appropriate loras widget based on ComfyUI version export async function getLorasWidgetModule() { return await dynamicImportByVersion("./loras_widget.js", "./legacy_loras_widget.js");