chore(web): migrate lodash-es to es-toolkit compat (#30126)

This commit is contained in:
yyh
2025-12-25 09:44:57 +08:00
committed by GitHub
parent fdaeec7f7d
commit 3cbbb06dc4
202 changed files with 222 additions and 230 deletions

View File

@ -1,8 +1,8 @@
'use client'
import type { FC } from 'react'
import type { ValueSelector, Var } from '@/app/components/workflow/types'
import { noop } from 'es-toolkit/compat'
import { produce } from 'immer'
import { noop } from 'lodash-es'
import * as React from 'react'
import { useCallback } from 'react'
import { useTranslation } from 'react-i18next'

View File

@ -7,9 +7,9 @@ import type {
VarGroupItem,
VariableAssignerNodeType,
} from './types'
import { produce } from 'immer'
import { uniqBy } from 'es-toolkit/compat'
import { uniqBy } from 'lodash-es'
import { produce } from 'immer'
import { useCallback } from 'react'
import {
useNodes,