refactor & perf: import { noop } from 'lodash-es' across web (#17439)
This commit is contained in:
parent
7016ccef10
commit
c05e03fc09
87 changed files with 271 additions and 184 deletions
|
|
@ -18,6 +18,7 @@ import ConditionAdd from './condition-add'
|
|||
import cn from '@/utils/classnames'
|
||||
import Button from '@/app/components/base/button'
|
||||
import { PortalSelect as Select } from '@/app/components/base/select'
|
||||
import { noop } from 'lodash-es'
|
||||
|
||||
type Props = {
|
||||
isSubVariable?: boolean
|
||||
|
|
@ -49,7 +50,7 @@ const ConditionWrap: FC<Props> = ({
|
|||
nodeId: id = '',
|
||||
cases = [],
|
||||
readOnly,
|
||||
handleSortCase = () => { },
|
||||
handleSortCase = noop,
|
||||
handleRemoveCase,
|
||||
handleUpdateCondition,
|
||||
handleAddCondition,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue