fix lint issue
This commit is contained in:
parent
bb69f40a46
commit
cd132ca057
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
const clearValue = () => {
|
const clearValue = () => {
|
||||||
const { fieldState } = fieldMap[field]
|
const { fieldState } = fieldMap[field]
|
||||||
const newValue = initialValues[field] ?? defaultValue;
|
const newValue = initialValues[field] ?? defaultValue
|
||||||
fieldState.update(state => {
|
fieldState.update(state => {
|
||||||
state.value = newValue
|
state.value = newValue
|
||||||
state.error = null
|
state.error = null
|
||||||
|
|
Loading…
Reference in New Issue