mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
chore(web): migrate lodash-es to es-toolkit compat (#30126)
This commit is contained in:
@ -5,7 +5,7 @@ import type {
|
||||
Node,
|
||||
} from '@/app/components/workflow/types'
|
||||
import ELK from 'elkjs/lib/elk.bundled.js'
|
||||
import { cloneDeep } from 'lodash-es'
|
||||
import { cloneDeep } from 'es-toolkit/compat'
|
||||
import {
|
||||
CUSTOM_NODE,
|
||||
NODE_LAYOUT_HORIZONTAL_PADDING,
|
||||
|
||||
@ -9,7 +9,7 @@ import type {
|
||||
} from '../types'
|
||||
import {
|
||||
cloneDeep,
|
||||
} from 'lodash-es'
|
||||
} from 'es-toolkit/compat'
|
||||
import {
|
||||
getConnectedEdges,
|
||||
} from 'reactflow'
|
||||
|
||||
@ -4,7 +4,7 @@ import type {
|
||||
} from '../types'
|
||||
import {
|
||||
uniqBy,
|
||||
} from 'lodash-es'
|
||||
} from 'es-toolkit/compat'
|
||||
import {
|
||||
getOutgoers,
|
||||
} from 'reactflow'
|
||||
|
||||
Reference in New Issue
Block a user