fix: refactor(changeTracker): replace local clone() with shared clone util from @/scripts/utils (#9414)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
CodeRabbit Fixer
2026-03-06 15:26:20 +01:00
parent 7cb07f9b2d
commit 38e2bb57d7

View File

@@ -17,10 +17,7 @@ import { useSubgraphNavigationStore } from '@/stores/subgraphNavigationStore'
import { api } from './api'
import type { ComfyApp } from './app'
import { app } from './app'
function clone<T>(obj: T): T {
return JSON.parse(JSON.stringify(obj))
}
import { clone } from './utils'
const logger = log.getLogger('ChangeTracker')
// Change to debug for more verbose logging