fix: immer version and ref in code base (#27130)

This commit is contained in:
crazywoola
2025-10-20 13:49:26 +08:00
committed by lyzno1
parent 8d3d177932
commit e9dda03e8d
3 changed files with 126 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import produce from 'immer'
import { useCallback } from 'react'
import { produce } from 'immer'
import { useStoreApi } from 'reactflow'
import type { SyncCallback } from './use-nodes-sync-draft'
import { useNodesSyncDraft } from './use-nodes-sync-draft'