fix: eslint error
parent
5a2c88ef7f
commit
be7de76abd
|
@ -7,8 +7,6 @@ import { ConfigConsumerProps } from '../config-provider';
|
||||||
import ClearableLabeledInput from './ClearableLabeledInput';
|
import ClearableLabeledInput from './ClearableLabeledInput';
|
||||||
import syncWatch from '../_util/syncWatch';
|
import syncWatch from '../_util/syncWatch';
|
||||||
|
|
||||||
function noop() {}
|
|
||||||
|
|
||||||
export function fixControlledValue(value) {
|
export function fixControlledValue(value) {
|
||||||
if (typeof value === 'undefined' || value === null) {
|
if (typeof value === 'undefined' || value === null) {
|
||||||
return '';
|
return '';
|
||||||
|
|
Loading…
Reference in New Issue