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 GitHub
parent 4dccdf9478
commit f0e739be43
135 changed files with 170 additions and 225 deletions

View File

@@ -5,7 +5,7 @@ import {
} from 'react'
import { useTranslation } from 'react-i18next'
import { RiDeleteBinLine } from '@remixicon/react'
import produce from 'immer'
import { produce } from 'immer'
import type { VarType as NumberVarType } from '../../../tool/types'
import type {
Condition,

View File

@@ -2,7 +2,7 @@ import {
useCallback,
useRef,
} from 'react'
import produce from 'immer'
import { produce } from 'immer'
import { v4 as uuid4 } from 'uuid'
import {
useIsChatMode,

View File

@@ -1,5 +1,5 @@
import { useCallback } from 'react'
import produce from 'immer'
import { produce } from 'immer'
import { useStoreApi } from 'reactflow'
import type {
BlockEnum,