fix lint issue
This commit is contained in:
parent
e2de45db23
commit
01d9a86946
|
@ -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