refactor & perf: import { noop } from 'lodash-es' across web (#17439)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import cn from '@/utils/classnames'
|
||||
import { noop } from 'lodash-es'
|
||||
|
||||
type Props = {
|
||||
className?: string
|
||||
@@ -23,7 +24,7 @@ const RadioCard: FC<Props> = ({
|
||||
description,
|
||||
noRadio,
|
||||
isChosen,
|
||||
onChosen = () => { },
|
||||
onChosen = noop,
|
||||
chosenConfig,
|
||||
chosenConfigWrapClassName,
|
||||
className,
|
||||
|
||||
Reference in New Issue
Block a user